# HG changeset patch # User Pascal Bellard # Date 1554562405 -7200 # Node ID 0bfa0a833a346d9a33598e0cb3c3d7a94a97ae64 # Parent 6dc00c39f7735d925bb6f9764b9233aef2dc84c1 Add python-pip & python-scapy diff -r 6dc00c39f773 -r 0bfa0a833a34 libaio/receipt --- a/libaio/receipt Sat Apr 06 14:55:40 2019 +0200 +++ b/libaio/receipt Sat Apr 06 16:53:25 2019 +0200 @@ -26,7 +26,7 @@ { mkdir -p $fs/usr/lib install -D -m 755 $src/src/libaio.so.* $fs/usr/lib/ - lib=$(cd $src/src; ls libaio.so.*) + lib=$(cd $src/src; ls libaio.so.* | tail -n 1) ln=$lib while true; do ln=${ln%.*} diff -r 6dc00c39f773 -r 0bfa0a833a34 python-pip/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pip/receipt Sat Apr 06 16:53:25 2019 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-pip" +SOURCE="pip" +VERSION="19.0.3" +CATEGORY="development" +SHORT_DESC="The PyPA recommended tool for installing Python packages" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="https://pip.pypa.io/" +WGET_URL="https://github.com/pypa/pip/archive/$VERSION.tar.gz" + +BUILD_DEPENDS="python" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +} diff -r 6dc00c39f773 -r 0bfa0a833a34 python-scapy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-scapy/receipt Sat Apr 06 16:53:25 2019 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="python-scapy" +SOURCE="scapy" +VERSION="2.4.2" +CATEGORY="development" +SHORT_DESC="interactive packet manipulation tool" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="https://scapy.net/" +WGET_URL="https://github.com/secdev/scapy/archive/v$VERSION.tar.gz" + +BUILD_DEPENDS="python" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs + cp -a $install/usr/lib $fs +}