olli 46bace858d portsentry:
* Fix linking (#2414), Thanks for reporting!
 * Refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 15:39:43 +00:00

45 lines
937 B
Makefile

#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=portsentry
PKG_VERSION:=1.2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-1.2.tar.gz
PKG_SOURCE_URL:=@SF/sentrytools
PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
include $(INCLUDE_DIR)/package.mk
define Package/portsentry
SECTION:=net
CATEGORY:=Network
TITLE:=Portscan protection utility
URL:=http://sourceforge.net/projects/sentrytools
endef
define Package/portsentry/conffiles
/etc/portsentry.conf
endef
MAKE_FLAGS += \
linux \
define Package/portsentry/install
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,portsentry))