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

Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 30 18:05:22 2024 +0000 (7 months ago)
parents 12fd9f72f43e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-scapy"
4 VERSION="2.4.3"
5 CATEGORY="development"
6 SHORT_DESC="Interactive packet manipulation tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://scapy.net/"
11 SOURCE="scapy"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/secdev/$SOURCE/archive/v$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-setuptools"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build &&
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs
37 cp -a $install/usr/lib $fs
38 }