wok view python-scapy/receipt @ rev 21868

scilab: added BUILD_DEPENCY pcre-dev
author Hans-G?nter Theisgen
date Tue Sep 24 17:15:29 2019 +0100 (2019-09-24)
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 }