massive Makefile cleanup, add missing 'svn:keywords' property

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2006-10-30 13:51:50 +00:00
parent d6c03f5259
commit 5cb332fb35
139 changed files with 1341 additions and 1322 deletions

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=portsentry
PKG_VERSION:=1.2
PKG_RELEASE:=1
PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
PKG_SOURCE_URL:=@SF/sentrytools
PKG_SOURCE:=$(PKG_NAME)-1.2.tar.gz
PKG_SOURCE_URL:=@SF/sentrytools
PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
@ -25,7 +25,6 @@ define Package/portsentry
SECTION:=net
CATEGORY:=Network
TITLE:=Portscan protection utility
DESCRIPTION:=Software for protection against port scans
URL:=http://sourceforge.net/projects/sentrytools
endef
@ -33,15 +32,18 @@ define Package/portsentry/conffiles
/etc/portsentry.conf
endef
define Build/Configure
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) linux
endef
define Package/portsentry/install
mkdir -p $(1)/usr/bin
mkdir -p $(1)/etc
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
install -d -m0755 $(1)/etc
install -m0644 $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,portsentry))