3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=6b7a1f3cbb0af88da02e5d30cefd8e7f
10 PKG_SOURCE_URL
:=http
://blackhat.com
/presentations
/bh-europe-05
/BH_EU_05-Oudot
/
11 PKG_SOURCE
:=$(PKG_NAME
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,WKNOCK
,wknock
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
23 $(PKG_BUILD_DIR
)/.built
:
24 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
26 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
27 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lpcap" \
32 install -d
-m0755
$(IDIR_WKNOCK
)/usr
/sbin
33 install -m0755
$(PKG_BUILD_DIR
)/wknock
$(IDIR_WKNOCK
)/usr
/sbin
/
34 install -m0755
$(PKG_BUILD_DIR
)/wknock-ng
$(IDIR_WKNOCK
)/usr
/sbin
/
35 $(RSTRIP
) $(IDIR_WKNOCK
)/
36 $(IPKG_BUILD
) $(IDIR_WKNOCK
) $(PACKAGE_DIR
)