portsentry:
[openwrt/svn-archive/archive.git] / net / portsentry / Makefile
1 #
2 # Copyright (C) 2007 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
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/portsentry
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=Portscan protection utility
27 URL:=http://sourceforge.net/projects/sentrytools
28 endef
29
30 define Package/portsentry/conffiles
31 /etc/portsentry.conf
32 endef
33
34 MAKE_FLAGS += \
35 linux \
36
37 define Package/portsentry/install
38 $(INSTALL_DIR) $(1)/etc
39 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,portsentry))