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:=vrrpd
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_MD5SUM:=6d5066ea1a6ced817376ca0f54765447
PKG_SOURCE_URL:=@SF/vrrpd
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/vrrpd
PKG_MD5SUM:=6d5066ea1a6ced817376ca0f54765447
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -25,11 +25,12 @@ define Package/vrrpd
SECTION:=net
CATEGORY:=Network
TITLE:=Virtual Router Redundancy Protocol daemon
DESCRIPTION:=VRRPd is an implementation of Virtual Router Redundancy\\\
Protocol as specified in rfc2338. VRRPd is interoperable with\\\
other RFC-based VRRP implementations, including Cisco and\\\
Juniper, and is included as a standard feature on ImageStream\\\
routers.\\\
DESCRIPTION:=\
VRRPd is an implementation of Virtual Router Redundancy \\\
Protocol as specified in rfc2338. VRRPd is interoperable with \\\
other RFC-based VRRP implementations, including Cisco and \\\
Juniper, and is included as a standard feature on ImageStream \\\
routers.
URL:=http://www.sourceforge.net/projects/vrrpd
endef
@ -38,19 +39,20 @@ define Package/vrrpd/conffiles
endef
define Build/Compile
$(call Build/Compile/Default, \
$(call Build/Compile/Default, \
DBG_OPT="" \
MAIN_OPT="$(TARGET_CFLAGS)" \
vrrpd)
vrrpd \
)
endef
define Package/vrrpd/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
install -d -m0755 $(1)/etc/default
install -m0644 ./files/vrrpd.default $(1)/etc/default/vrrpd
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/vrrpd.init $(1)/etc/init.d/vrrpd
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,vrrpd))