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:=tcp_wrappers
PKG_VERSION:=7.6
PKG_RELEASE:=1
PKG_MD5SUM:=e6fa25f71226d090f34de3f6b122fb5a
PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
PKG_MD5SUM:=e6fa25f71226d090f34de3f6b122fb5a
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION)
@ -25,7 +25,6 @@ define Package/libwrap
SECTION:=net
CATEGORY:=Network
TITLE:=Security wrapper library for TCP services
DESCRIPTION:=Security wrapper library for TCP services.
URL:=ftp://ftp.porcupine.org/pub/security/index.html
endef
@ -46,11 +45,6 @@ define Build/Compile
tidy all
endef
define Package/libwrap/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/shared/libwrap.so.* $(1)/usr/lib/
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_BUILD_DIR)/tcpd.h $(STAGING_DIR)/usr/include/
@ -61,8 +55,13 @@ endef
define Build/UninstallDev
rm -rf \
$(STAGING_DIR)/usr/include/tcpd.h \
$(STAGING_DIR)/usr/lib/libwrap.{a,so*}
$(STAGING_DIR)/usr/include/tcpd.h \
$(STAGING_DIR)/usr/lib/libwrap.{a,so*}
endef
define Package/libwrap/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/shared/libwrap.so.* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libwrap))