# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/package.mk
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
-ifneq ($(MAKECMDGOALS),download)
- $(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
-endif
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
endef
define Build/Compile
+ $(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false)
$(call Build/Compile/PyMod,., \
install --prefix="$(PKG_INSTALL_DIR)/usr", \
PCAP_HOME="$(STAGING_DIR)/usr" \