comparison Templates/python.sh @ 606:25cecc6dca48

vanilla: use POSIX shell and busybox tar
author David Demelier <markand@malikania.fr>
date Thu, 18 Jul 2019 07:26:43 +0200
parents 7b000befead5
children cdbedfb9dfd0
comparison
equal deleted inserted replaced
605:860ab66f5f71 606:25cecc6dca48
25 # PKGOPTIONS="FOO BAR BAZ" 25 # PKGOPTIONS="FOO BAR BAZ"
26 26
27 build() 27 build()
28 { 28 {
29 rm -rf $PKGNAME-$PKGVERSION 29 rm -rf $PKGNAME-$PKGVERSION
30 tar xvaf $PKGNAME-$PKGVERSION.tar.gz 30 tar xvf $PKGNAME-$PKGVERSION.tar.gz
31 pushd $PKGNAME-$PKGVERSION 31 cd $PKGNAME-$PKGVERSION
32 32
33 python setup.py build 33 python setup.py build
34 python setup.py install --root=${DESTDIR:-/} -O1 34 python setup.py install --root=${DESTDIR:-/} -O1
35 35
36 popd 36 cd ..
37 rm -rf $PKGNAME-$PKGVERSION 37 rm -rf $PKGNAME-$PKGVERSION
38 } 38 }