wok-current view python-scapy/receipt @ rev 23409

updated perl-try-tiny (0.22 -> 0.30)
author Hans-G?nter Theisgen
date Wed Apr 01 07:04:07 2020 +0100 (2020-04-01)
parents 0bfa0a833a34
children 12fd9f72f43e
line source
1 # SliTaz package receipt.
3 PACKAGE="python-scapy"
4 SOURCE="scapy"
5 VERSION="2.4.2"
6 CATEGORY="development"
7 SHORT_DESC="interactive packet manipulation tool"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://scapy.net/"
12 WGET_URL="https://github.com/secdev/scapy/archive/v$VERSION.tar.gz"
14 DEPENDS="python"
15 BUILD_DEPENDS="python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs
29 cp -a $install/usr/lib $fs
30 }