wok-next diff python-numpy/receipt @ rev 17639
Up: mercurial 3.3
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 14 21:12:48 2015 +0000 (2015-02-14) |
parents | 23674c6c3c84 |
children | 16df76e1fc6a |
line diff
1.1 --- a/python-numpy/receipt Tue Dec 07 07:31:59 2010 +0000 1.2 +++ b/python-numpy/receipt Sat Feb 14 21:12:48 2015 +0000 1.3 @@ -6,9 +6,11 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="scientific computing library for the Python." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="BSD" 1.8 TARBALL="$SOURCE-$VERSION.tar.gz" 1.9 WEB_SITE="http://numpy.scipy.org/" 1.10 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 1.11 + 1.12 DEPENDS="python" 1.13 BUILD_DEPENDS="python python-dev" 1.14 1.15 @@ -16,14 +18,16 @@ 1.16 compile_rules() 1.17 { 1.18 cd $src 1.19 + { 1.20 python setup.py build && 1.21 - python setup.py install --root=$PWD/_pkg 1.22 + python setup.py install --root=$DESTDIR 1.23 + } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' 1.24 } 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 genpkg_rules() 1.28 { 1.29 - cp -a $_pkg/usr $fs 1.30 + cp -a $install/usr $fs 1.31 } 1.32 1.33 # Remove old package.