News | About | Get Frugalware | Packages | Documentation | Discussion Forums | Bug Tracker | Wiki | Community | Development

FrugalBuild python (Français)

From FrugalWiki

Jump to: navigation, search

Contents

FrugalBuild dans le cas d'une compilation avec Python

Exemple

 pkgname=newt
 # pkgver, pkgrel, pkgdesc, url, depends, groups, archs, up2date, source
 sha1sums=('ef783a28a0ba0ec7015bb4cf06b10cd42bbb3aa3<B4>')
 Finclude python
   
 build()
 {
         Fcd
         tar -xzvf newt-$pkgver.tar.gz
         cd newt-$pkgver
         Fsed "-O2" "$CFLAGS" Makefile.in
         Fsed "python2\.4" "python$_F_python_ver" Makefile.in
         Fbuild
 }


Fonctions possibles

_F_python_libdir

Pour spécifier le repertoire de python

exemple: usr/lib/python2.5/site-packages)

_F_python_ver

Spécifier la version de python

exemple: 2.5

Personal tools
Namespaces
Variants
Actions