wok annotate python-scapy/receipt @ rev 24020

linld: fix iso9660/64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 06 18:15:05 2021 +0000 (2021-03-06)
parents 5e106c69c241
children 5ea0ce1cecc0
rev   line source
pascal@21199 1 # SliTaz package receipt.
pascal@21199 2
pascal@21199 3 PACKAGE="python-scapy"
Hans-G?nter@23557 4 VERSION="2.4.3"
pascal@21199 5 CATEGORY="development"
Hans-G?nter@23557 6 SHORT_DESC="Interactive packet manipulation tool."
pascal@21199 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21199 8 LICENSE="GPL2"
pascal@21199 9 WEB_SITE="https://scapy.net/"
Hans-G?nter@23557 10
Hans-G?nter@23557 11 SOURCE="scapy"
Hans-G?nter@23557 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23557 13 WGET_URL="https://github.com/secdev/$SOURCE/archive/v$VERSION.tar.gz"
pascal@21199 14
pascal@21200 15 DEPENDS="python"
Hans-G?nter@23557 16 BUILD_DEPENDS="python python-setuptools"
pascal@21199 17
pascal@21199 18 # Rules to configure and make the package.
pascal@21199 19 compile_rules()
pascal@21199 20 {
pascal@21199 21 python setup.py build &&
pascal@21199 22 python setup.py install --root=$DESTDIR
pascal@21199 23 }
pascal@21199 24
pascal@21199 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21199 26 genpkg_rules()
pascal@21199 27 {
pascal@21199 28 mkdir -p $fs/usr
Hans-G?nter@23557 29
Hans-G?nter@23557 30 cp -a $install/usr/bin $fs
Hans-G?nter@23557 31 cp -a $install/usr/lib $fs
pascal@21199 32 }