From 25bfff5314a2f5ec3a5d216d6a26f4d01758328d Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 3 Jan 2006 12:53:01 +0000 Subject: Added mrd6 package : IPv6 multicast routing daemon git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2816 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mrd6/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 package/mrd6/Makefile (limited to 'package/mrd6/Makefile') diff --git a/package/mrd6/Makefile b/package/mrd6/Makefile new file mode 100644 index 000000000..250b14fe9 --- /dev/null +++ b/package/mrd6/Makefile @@ -0,0 +1,44 @@ +# $Id: Makefile 1146 2005-06-05 13:32:28Z florian $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=mrd6 +PKG_VERSION:=0.9.4-beta2 +PKG_RELEASE:=1 +PKG_MD5SUM:=fe2e617954eccacd9b5c3d6e85f41c89 + +PKG_SOURCE_URL:=http://hng.av.it.pt/mrd6/download/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,MRD6,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR)/src \ + OPTIMIZE=yes \ + SPACE_OPTIMIZE=yes \ + FULL_STATIC=yes \ + CFLAGS="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \ + CXX=$(TARGET_CROSS)g++ \ + CC=$(TARGET_CC) \ + STAGING_DIR=$(STAGING_DIR) \ + PREFIX=/usr \ + DESTDIR=$(PKG_INSTALL_DIR) \ + install + install -d -m0755 $(PKG_INSTALL_DIR)/etc/init.d + install -m0644 files/$(PKG_NAME).conf $(PKG_INSTALL_DIR)/etc + install -m0755 files/$(PKG_NAME).init $(PKG_INSTALL_DIR)/etc/init.d/S60$(PKG_NAME) + touch $@ + +$(IPKG_MRD6): + mkdir -p $(IDIR_MRD6)/usr/sbin + cp -fpR $(PKG_INSTALL_DIR)/ $(IDIR_MRD6)/ + $(RSTRIP) $(IDIR_MRD6)/ + $(IPKG_BUILD) $(IDIR_MRD6) $(PACKAGE_DIR) -- cgit v1.2.3