wok-6.x rev 15088
py3k: add bdeps...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 21:00:08 2013 +0000 (2013-08-13) |
parents | 389ec3a23f68 |
children | ea9c0883605a |
files | py3k-dev/receipt py3k/receipt |
line diff
1.1 --- a/py3k-dev/receipt Tue Aug 13 20:53:13 2013 +0000 1.2 +++ b/py3k-dev/receipt Tue Aug 13 21:00:08 2013 +0000 1.3 @@ -5,17 +5,19 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="The Python programming language devel files." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="py3k" 1.8 +LICENSE="GPL" 1.9 WANTED="py3k" 1.10 SOURCE="Python" 1.11 WEB_SITE="http://www.python.org/" 1.12 1.13 +DEPENDS="py3k" 1.14 + 1.15 # Rules to gen a SliTaz package suitable for Tazpkg. 1.16 genpkg_rules() 1.17 { 1.18 mkdir -p $fs/usr/bin 1.19 - cp -a $_pkg/usr/include $fs/usr 1.20 - cp -a $_pkg/usr/bin/*-config $fs/usr/bin 1.21 + cp -a $install/usr/include $fs/usr 1.22 + cp -a $install/usr/bin/*-config $fs/usr/bin 1.23 chmod 755 $fs/usr/bin/*-config 1.24 # in py3k package now 1.25 python_version=${VERSION:0:3}
2.1 --- a/py3k/receipt Tue Aug 13 20:53:13 2013 +0000 2.2 +++ b/py3k/receipt Tue Aug 13 21:00:08 2013 +0000 2.3 @@ -5,13 +5,16 @@ 2.4 CATEGORY="development" 2.5 SHORT_DESC="The Python 3000 programming language." 2.6 MAINTAINER="pascal.bellard@slitaz.org" 2.7 +LICENSE="GPL" 2.8 SOURCE="Python" 2.9 -DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm \ 2.10 -tk xorg-libXext" 2.11 TARBALL="$SOURCE-$VERSION.tar.bz2" 2.12 WEB_SITE="http://www.python.org/download/releases/3.2/" 2.13 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL" 2.14 2.15 +DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm \ 2.16 +tk xorg-libXext" 2.17 +BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev" 2.18 + 2.19 # Rules to configure and make the package. 2.20 compile_rules() 2.21 { 2.22 @@ -28,10 +31,10 @@ 2.23 { 2.24 python_version=${VERSION:0:3} 2.25 mkdir -p $fs/usr/include/python${python_version}m 2.26 - cp -a $_pkg/usr/bin $fs/usr 2.27 - cp -a $_pkg/usr/lib $fs/usr 2.28 + cp -a $install/usr/bin $fs/usr 2.29 + cp -a $install/usr/lib $fs/usr 2.30 # needed for python3 to work 2.31 - cp -a $_pkg/usr/include/python${python_version}m/pyconfig.h \ 2.32 + cp -a $install/usr/include/python${python_version}m/pyconfig.h \ 2.33 $fs/usr/include/python${python_version}m 2.34 rm -f $fs/usr/bin/*-config 2.35 }