mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #7789 from neheb/pcapy
python-pcapy: Add uclibc++ support
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=python-pcapy
|
PKG_NAME:=python-pcapy
|
||||||
PKG_VERSION:=0.11.4
|
PKG_VERSION:=0.11.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=pcapy-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=pcapy-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pcapy
|
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pcapy
|
||||||
@@ -19,6 +19,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/pcapy-$(PKG_VERSION)
|
|||||||
PKG_MAINTAINER:=Andrew McConachie <andrew@depht.com>
|
PKG_MAINTAINER:=Andrew McConachie <andrew@depht.com>
|
||||||
PKG_LICENSE:=Apache-1.1
|
PKG_LICENSE:=Apache-1.1
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include ../python-package.mk
|
include ../python-package.mk
|
||||||
|
|
||||||
@@ -28,7 +29,7 @@ define Package/python-pcapy
|
|||||||
SUBMENU:=Python
|
SUBMENU:=Python
|
||||||
TITLE:=python-pcapy
|
TITLE:=python-pcapy
|
||||||
URL:=https://www.coresecurity.com/corelabs-research/open-source-tools/pcapy
|
URL:=https://www.coresecurity.com/corelabs-research/open-source-tools/pcapy
|
||||||
DEPENDS:=+python +libpcap +libstdcpp
|
DEPENDS:=+python +libpcap $(CXX_DEPENDS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/python-pcapy/description
|
define Package/python-pcapy/description
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 4da69bc..165059b 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -28,7 +28,7 @@ if sys.platform == 'win32':
|
||||||
|
library_dirs.append(r'c:\wpdpack\Lib')
|
||||||
|
libraries = ['wpcap', 'packet', 'ws2_32']
|
||||||
|
else:
|
||||||
|
- libraries = ['pcap', 'stdc++']
|
||||||
|
+ libraries = ['pcap']
|
||||||
|
|
||||||
|
|
||||||
|
# end of user configurable parameters
|
||||||
Reference in New Issue
Block a user