add ath_rate_sample, fix module loading on netgear wgt634u
[openwrt.git] / openwrt / 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)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(MAKE) -C $(PKG_BUILD_DIR) linux
25 touch $@
26
27 $(IPKG_PORTSENTRY):
28 mkdir -p $(IDIR_PORTSENTRY)/usr/bin
29 mkdir -p $(IDIR_PORTSENTRY)/etc
30 cp $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(IDIR_PORTSENTRY)/etc/
31 cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_PORTSENTRY)/usr/bin/
32 $(STRIP) $(IDIR_PORTSENTRY)/usr/bin/*
33 $(IPKG_BUILD) $(IDIR_PORTSENTRY) $(PACKAGE_DIR)
34
35 mostlyclean:
36 $(MAKE) -C $(PKG_BUILD_DIR) clean
37 rm -f $(PKG_BUILD_DIR)/.built
This page took 0.043279 seconds and 5 git commands to generate.