FrugalBuild python (Français)
From FrugalWiki
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