freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | # $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=portsentry
|
|---|
| 6 | PKG_VERSION:=1.2
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE_URL:=@SF/sentrytools
|
|---|
| 11 | PKG_SOURCE:=$(PKG_NAME)-1.2.tar.gz
|
|---|
| 12 | PKG_CAT:=zcat
|
|---|
| 13 |
|
|---|
| 14 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
|
|---|
| 15 |
|
|---|
| 16 | include $(TOPDIR)/package/rules.mk
|
|---|
| 17 |
|
|---|
| 18 | $(eval $(call PKG_template,PORTSENTRY,portsentry,$(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) linux \
|
|---|
| 25 | CC=$(TARGET_CC) CFLAGS=$(TARGET_CFLAGS)
|
|---|
| 26 | touch $@
|
|---|
| 27 |
|
|---|
| 28 | $(IPKG_PORTSENTRY):
|
|---|
| 29 | mkdir -p $(IDIR_PORTSENTRY)/usr/bin
|
|---|
| 30 | mkdir -p $(IDIR_PORTSENTRY)/etc
|
|---|
| 31 | $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(IDIR_PORTSENTRY)/etc/
|
|---|
| 32 | $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_PORTSENTRY)/usr/bin/
|
|---|
| 33 | $(STRIP) $(IDIR_PORTSENTRY)/usr/bin/*
|
|---|
| 34 | $(IPKG_BUILD) $(IDIR_PORTSENTRY) $(PACKAGE_DIR)
|
|---|
| 35 |
|
|---|
| 36 | mostlyclean:
|
|---|
| 37 | $(MAKE) -C $(PKG_BUILD_DIR) clean
|
|---|
| 38 | rm -f $(PKG_BUILD_DIR)/.built
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.