@ -9,14 +9,14 @@ include $(TOPDIR)/rules.mk
PKG_NAME := scapy
PKG_NAME := scapy
PKG_VERSION := 2.4.3
PKG_VERSION := 2.4.3
PKG_RELEASE := 1
PKG_LICENSE := GPL-2.0
PKG_RELEASE := 2
PKG_LICENSE := GPL-2.0-only
PKG_LICENSE_FILES := LICENSE
PKG_LICENSE_FILES := LICENSE
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/secdev/scapy/tar.gz/v$( PKG_VERSION) ?
PKG_HASH := 6cacd9ebe2beeb06b10ff57bff3632222755e9d62f1b38e71b02edab6e71d776
PYPI_NAME := $( PKG_NAME)
PKG_HASH := e2f8d11f6a941c14a789ae8b236b27bd634681f1b29b5e893861e284d234f6b0
i n c l u d e . . / . . / l a n g / p y t h o n / p y p i . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e . . / . . / l a n g / p y t h o n / p y t h o n 3 - p a c k a g e . m k
i n c l u d e . . / . . / l a n g / p y t h o n / p y t h o n 3 - p a c k a g e . m k
@ -36,19 +36,6 @@ define Package/scapy/description
requests and replies, and much more.
requests and replies, and much more.
e n d e f
e n d e f
d e f i n e B u i l d / C o m p i l e
$( call Python3/ModSetup,., \
install --prefix= "/usr" --root= " $( PKG_INSTALL_DIR) " , \
)
e n d e f
d e f i n e P a c k a g e / s c a p y / i n s t a l l
$( INSTALL_DIR) $( 1) $( PYTHON3_PKG_DIR)
$( INSTALL_DIR) $( 1) /usr/bin
$( CP) \
$( PKG_INSTALL_DIR) $( PYTHON3_PKG_DIR) /* \
$( 1) $( PYTHON3_PKG_DIR) /
$( CP) $( PKG_INSTALL_DIR) /usr/bin/* $( 1) /usr/bin
e n d e f
$( eval $ ( call Py 3Package ,scapy ) )
$( eval $ ( call BuildPackage ,scapy ) )
$( eval $ ( call BuildPackage ,scapy ) )
$( eval $ ( call BuildPackage ,scapy -src ) )