Use this new PyMod template
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8523 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -24,9 +24,11 @@ define Package/pypcap
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
cd $(PKG_BUILD_DIR); \
|
||||
PCAP_HOME=$(STAGING_DIR)/usr \
|
||||
$(STAGING_DIR)/usr/bin/hostpython ./setup.py build
|
||||
$(call Build/Compile/PyMod,\
|
||||
PCAP_HOME=$(STAGING_DIR)/usr \
|
||||
,\
|
||||
install \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/pypcap/install
|
||||
|
Reference in New Issue
Block a user