massive Makefile cleanup, add missing 'svn:keywords' property
[openwrt/svn-archive/archive.git] / net / portsentry / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=portsentry
12 PKG_VERSION:=1.2
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-1.2.tar.gz
16 PKG_SOURCE_URL:=@SF/sentrytools
17 PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/portsentry
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=Portscan protection utility
28 URL:=http://sourceforge.net/projects/sentrytools
29 endef
30
31 define Package/portsentry/conffiles
32 /etc/portsentry.conf
33 endef
34
35 define Build/Configure
36 endef
37
38 define Build/Compile
39 $(MAKE) -C $(PKG_BUILD_DIR) linux
40 endef
41
42 define Package/portsentry/install
43 install -d -m0755 $(1)/etc
44 install -m0644 $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
45 install -d -m0755 $(1)/usr/bin
46 install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,portsentry))