fix wrong md5sum
[openwrt.git] / package / wknock / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=wknock
6 PKG_VERSION:=1
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=6b7a1f3cbb0af88da02e5d30cefd8e7f
9
10 PKG_SOURCE_URL:=http://blackhat.com/presentations/bh-europe-05/BH_EU_05-Oudot/
11 PKG_SOURCE:=$(PKG_NAME).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,WKNOCK,wknock,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(MAKE) -C $(PKG_BUILD_DIR) \
25 CC=$(TARGET_CC) \
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" \
28 all
29 touch $@
30
31 $(IPKG_WKNOCK):
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)
This page took 0.042398 seconds and 5 git commands to generate.