# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
PKG_BUILD_DEPENDS:=python
include $(INCLUDE_DIR)/package.mk
--include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
+$(call include_mk, python-package.mk)
define Package/python-pcap
SUBMENU:=Python
CATEGORY:=Languages
TITLE:=Python interface to lipcap
URL:=http://code.google.com/p/pypcap/
- DEPENDS:=python-core +libpcap
+ DEPENDS:=+python-mini +libpcap
endef
define PyPackage/python-pcap/filespec
+|$(PYTHON_PKG_DIR)/pcap.so
endef
+TARGET_CFLAGS += -DHAVE_PCAP_FILE=1
+
define Build/Compile
$(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false)
$(call Build/Compile/PyMod,., \