2 # Copyright (C) 2006 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
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
22 include $(INCLUDE_DIR)/package.mk
24 define Package/portsentry
27 TITLE:=Portscan protection utility
28 URL:=http://sourceforge.net/projects/sentrytools
31 define Package/portsentry/conffiles
35 define Build/Configure
39 $(MAKE) -C $(PKG_BUILD_DIR) linux
42 define Package/portsentry/install
43 $(INSTALL_DIR) $(1)/etc
44 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
49 $(eval $(call BuildPackage,portsentry))