2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-1.2.tar.gz
16 PKG_SOURCE_URL:=@SF/sentrytools
17 PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
21 include $(INCLUDE_DIR)/package.mk
23 define Package/portsentry
26 TITLE:=Portscan protection utility
27 URL:=http://sourceforge.net/projects/sentrytools
30 define Package/portsentry/conffiles
37 define Package/portsentry/install
38 $(INSTALL_DIR) $(1)/etc/init.d
39 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
40 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
45 $(eval $(call BuildPackage,portsentry))