wok diff python-scapy/receipt @ 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 | |
children | 5e106c69c241 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-scapy/receipt Sat Apr 06 16:53:25 2019 +0200 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-scapy" 1.7 +SOURCE="scapy" 1.8 +VERSION="2.4.2" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="interactive packet manipulation tool" 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="GPL2" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WEB_SITE="https://scapy.net/" 1.15 +WGET_URL="https://github.com/secdev/scapy/archive/v$VERSION.tar.gz" 1.16 + 1.17 +BUILD_DEPENDS="python" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + python setup.py build && 1.23 + python setup.py install --root=$DESTDIR 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr 1.30 + cp -a $install/usr/bin $fs 1.31 + cp -a $install/usr/lib $fs 1.32 +}