1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-29 11:44:04 +02:00

Restored mrd6 compilation as "ceilf" dependency is now solved, updated to latest upstream version

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3219 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2006-02-11 17:46:17 +00:00
parent f11f502ebc
commit 64544ce522
4 changed files with 27 additions and 5 deletions

View 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

View 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

View 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

View File

@ -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