2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://pypcap.googlecode.com
/files
17 PKG_MD5SUM
:=034c3cbbfa81aa19e8f685b767c65764
19 include $(INCLUDE_DIR
)/package.mk
20 include ..
/python
/python-package.mk
22 define PyPackage
/pypcap
23 TITLE
:=Python interface to lipcap
24 URL
:=http
://code.google.com
/p
/pypcap
/
28 define PyPackage
/pypcap
/filespec
29 +|
$(PYTHON_PKG_DIR
)/pcap.so
33 $(call Build
/Compile
/PyMod
,.
, \
34 install --prefix="$(PKG_INSTALL_DIR)/usr", \
35 PCAP_HOME
="$(STAGING_DIR)/usr" \
39 $(eval
$(call PyPackage
,pypcap
))