fix ifup for pppoa
[openwrt.git] / package / portsentry / Makefile
1 # $Id$
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)/.built:
21 $(MAKE) -C $(PKG_BUILD_DIR) linux
22 touch $@
23
24 $(IPKG_PORTSENTRY):
25 mkdir -p $(IDIR_PORTSENTRY)/usr/bin
26 mkdir -p $(IDIR_PORTSENTRY)/etc
27 cp $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(IDIR_PORTSENTRY)/etc/
28 cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_PORTSENTRY)/usr/bin/
29 $(STRIP) $(IDIR_PORTSENTRY)/usr/bin/*
30 $(IPKG_BUILD) $(IDIR_PORTSENTRY) $(PACKAGE_DIR)
31
32 mostlyclean:
33 $(MAKE) -C $(PKG_BUILD_DIR) clean
34 rm -f $(PKG_BUILD_DIR)/.built
This page took 0.0375 seconds and 5 git commands to generate.