Restored mrd6 compilation as "ceilf" dependency is now solved, updated to latest...
authorFlorian Fainelli <florian@openwrt.org>
Sat, 11 Feb 2006 17:46:17 +0000 (17:46 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 11 Feb 2006 17:46:17 +0000 (17:46 +0000)
SVN-Revision: 3219

openwrt/package/mrd6/Config.in
openwrt/package/mrd6/Makefile
openwrt/package/mrd6/ipkg/mrd6.control
openwrt/package/mrd6/patches/01-ceilf_replacement.patch [new file with mode: 0644]

index 3ae0c871c9d8bda8548caf11ae48525c053bc682..cacebe2ac4007e17e15ca3025797ce3f3ebbf862 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_MRD6
        prompt "mrd6.............................. IPv6 multicast routing daemon"
        tristate
-       default n
+       default m if CONFIG_DEVEL
        help
                Multicast is becoming a major component in next generation 
                networks, used in several scenarios, from video broadcasting 
index 8b6ab7039e7f530848aedb9e1276610e12aa2f6a..ea92943b3cf13dbc57a5141b5b07d7e865cf9699 100644 (file)
@@ -3,15 +3,16 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mrd6
-PKG_VERSION:=0.9.4-beta2
+PKG_VERSION:=0.9.5
 PKG_RELEASE:=1
-PKG_MD5SUM:=fe2e617954eccacd9b5c3d6e85f41c89
+PKG_MD5SUM:=24a08cf1407000d628a272b08a415dda
 
 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)
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(TOPDIR)/package/rules.mk
 
@@ -29,8 +30,8 @@ $(PKG_BUILD_DIR)/.built:
                CXX=$(TARGET_CROSS)g++ \
                CC=$(TARGET_CC) \
                STAGING_DIR=$(STAGING_DIR) \
-               PREFIX=/usr \
                DESTDIR=$(PKG_INSTALL_DIR) \
+               PREFIX=/usr/ \
                install
        install -d -m0755 $(PKG_INSTALL_DIR)/etc/init.d
        install -m0644 files/$(PKG_NAME).conf $(PKG_INSTALL_DIR)/etc
index 89082b9f4630326062f62045146ac9aee78f1e15..3a50f171317ebe8725091f39de2a6b96165cbcca 100644 (file)
@@ -2,5 +2,5 @@ Package: mrd6
 Architecture: mipsel
 Section: net
 Priority: optional
-Depends: kmod-ipv6
+Depends: kmod-ipv6, libnotimpl
 Description: IPv6 multicast routing daemon
diff --git a/openwrt/package/mrd6/patches/01-ceilf_replacement.patch b/openwrt/package/mrd6/patches/01-ceilf_replacement.patch
new file mode 100644 (file)
index 0000000..1b4ac62
--- /dev/null
@@ -0,0 +1,21 @@
+diff -urN mrd6-0.9.5/src/Makefile mrd6-0.9.5.new/src/Makefile
+--- mrd6-0.9.5/src/Makefile    2005-12-18 19:15:04.000000000 +0100
++++ mrd6-0.9.5.new/src/Makefile        2006-02-11 18:30:44.000000000 +0100
+@@ -43,7 +43,7 @@
+       CFLAGS += -DNO_INET6_OPTION
+ endif
+-DEST_PREFIX = $(DESTDIR)$(PREFIX)
++DEST_PREFIX = $(DESTDIR)/$(PREFIX)
+ ifeq ($(OPTIMIZE),yes)
+       ifeq ($(SPACE_OPTIMIZE),yes)
+@@ -97,7 +97,7 @@
+       endif
+ endif
+-LDFLAGS += -lm
++LDFLAGS += -lm -lnotimpl -L$(STAGING_DIR)/usr/lib
+ ifeq ($(PLATFORM),OS_LINUX)
+       LDFLAGS += -ldl
+ endif