freewrt_1_0
freewrt_2_0
|
Last change
on this file since ed2dd9f was ed2dd9f, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)
git-svn-id: svn://www.freewrt.org/trunk/freewrt@306 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
955 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile 2362 2005-11-07 00:46:37Z nico $
|
|---|
| 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 |
|
|---|
| 13 | WRKSRC:=${WRKDIR}/$(PKG_NAME)
|
|---|
| 14 |
|
|---|
| 15 | include $(TOPDIR)/package/rules.mk
|
|---|
| 16 |
|
|---|
| 17 | $(eval $(call PKG_template,WKNOCK,wknock,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 18 |
|
|---|
| 19 | $(WRKBUILD)/.configured:
|
|---|
| 20 | touch $@
|
|---|
| 21 |
|
|---|
| 22 | $(WRKBUILD)/.built:
|
|---|
| 23 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 24 | CC=$(TARGET_CC) \
|
|---|
| 25 | CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
|---|
| 26 | LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lpcap" \
|
|---|
| 27 | all
|
|---|
| 28 | touch $@
|
|---|
| 29 |
|
|---|
| 30 | $(IPKG_WKNOCK):
|
|---|
| 31 | install -d -m0755 $(IDIR_WKNOCK)/usr/sbin
|
|---|
| 32 | install -m0755 $(WRKBUILD)/wknock $(IDIR_WKNOCK)/usr/sbin/
|
|---|
| 33 | install -m0755 $(WRKBUILD)/wknock-ng $(IDIR_WKNOCK)/usr/sbin/
|
|---|
| 34 | $(RSTRIP) $(IDIR_WKNOCK)/
|
|---|
| 35 | $(IPKG_BUILD) $(IDIR_WKNOCK) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.