wok annotate python-scapy/receipt @ rev 21736

vlgothic-fonts: use archive.org as web_site (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 13 16:11:30 2019 +0200 (2019-06-13)
parents 0bfa0a833a34
children 12fd9f72f43e
rev   line source
pascal@21199 1 # SliTaz package receipt.
pascal@21199 2
pascal@21199 3 PACKAGE="python-scapy"
pascal@21199 4 SOURCE="scapy"
pascal@21199 5 VERSION="2.4.2"
pascal@21199 6 CATEGORY="development"
pascal@21199 7 SHORT_DESC="interactive packet manipulation tool"
pascal@21199 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21199 9 LICENSE="GPL2"
pascal@21199 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@21199 11 WEB_SITE="https://scapy.net/"
pascal@21199 12 WGET_URL="https://github.com/secdev/scapy/archive/v$VERSION.tar.gz"
pascal@21199 13
pascal@21200 14 DEPENDS="python"
pascal@21199 15 BUILD_DEPENDS="python"
pascal@21199 16
pascal@21199 17 # Rules to configure and make the package.
pascal@21199 18 compile_rules()
pascal@21199 19 {
pascal@21199 20 python setup.py build &&
pascal@21199 21 python setup.py install --root=$DESTDIR
pascal@21199 22 }
pascal@21199 23
pascal@21199 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21199 25 genpkg_rules()
pascal@21199 26 {
pascal@21199 27 mkdir -p $fs/usr
pascal@21199 28 cp -a $install/usr/bin $fs
pascal@21199 29 cp -a $install/usr/lib $fs
pascal@21199 30 }