wok rev 21199
Add python-pip & python-scapy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 16:53:25 2019 +0200 (2019-04-06) |
parents | 6dc00c39f773 |
children | 5e106c69c241 |
files | libaio/receipt python-pip/receipt python-scapy/receipt |
line diff
1.1 --- a/libaio/receipt Sat Apr 06 14:55:40 2019 +0200 1.2 +++ b/libaio/receipt Sat Apr 06 16:53:25 2019 +0200 1.3 @@ -26,7 +26,7 @@ 1.4 { 1.5 mkdir -p $fs/usr/lib 1.6 install -D -m 755 $src/src/libaio.so.* $fs/usr/lib/ 1.7 - lib=$(cd $src/src; ls libaio.so.*) 1.8 + lib=$(cd $src/src; ls libaio.so.* | tail -n 1) 1.9 ln=$lib 1.10 while true; do 1.11 ln=${ln%.*}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/python-pip/receipt Sat Apr 06 16:53:25 2019 +0200 2.3 @@ -0,0 +1,27 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="python-pip" 2.7 +SOURCE="pip" 2.8 +VERSION="19.0.3" 2.9 +CATEGORY="development" 2.10 +SHORT_DESC="The PyPA recommended tool for installing Python packages" 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +LICENSE="MIT" 2.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.14 +WEB_SITE="https://pip.pypa.io/" 2.15 +WGET_URL="https://github.com/pypa/pip/archive/$VERSION.tar.gz" 2.16 + 2.17 +BUILD_DEPENDS="python" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + python setup.py build && 2.23 + python setup.py install --root=$DESTDIR 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + cp -a $install/usr $fs 2.30 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/python-scapy/receipt Sat Apr 06 16:53:25 2019 +0200 3.3 @@ -0,0 +1,29 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="python-scapy" 3.7 +SOURCE="scapy" 3.8 +VERSION="2.4.2" 3.9 +CATEGORY="development" 3.10 +SHORT_DESC="interactive packet manipulation tool" 3.11 +MAINTAINER="pascal.bellard@slitaz.org" 3.12 +LICENSE="GPL2" 3.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 3.14 +WEB_SITE="https://scapy.net/" 3.15 +WGET_URL="https://github.com/secdev/scapy/archive/v$VERSION.tar.gz" 3.16 + 3.17 +BUILD_DEPENDS="python" 3.18 + 3.19 +# Rules to configure and make the package. 3.20 +compile_rules() 3.21 +{ 3.22 + python setup.py build && 3.23 + python setup.py install --root=$DESTDIR 3.24 +} 3.25 + 3.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.27 +genpkg_rules() 3.28 +{ 3.29 + mkdir -p $fs/usr 3.30 + cp -a $install/usr/bin $fs 3.31 + cp -a $install/usr/lib $fs 3.32 +}