Changeset 8601


Ignore:
Timestamp:
2007-09-03T18:07:32+02:00 (10 years ago)
Author:
nico
Message:

mrd6: remove invasive stuff from patch 001 and rename it, Makefile cleanup

Location:
packages/ipv6/mrd6
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • packages/ipv6/mrd6/Makefile

    r8460 r8601  
    1212PKG_VERSION:=0.9.5 
    1313PKG_RELEASE:=1 
    14 PKG_MD5SUM:=24a08cf1407000d628a272b08a415dda 
    1514 
    1615PKG_SOURCE_URL:=http://hng.av.it.pt/mrd6/download/ 
    1716PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    18 PKG_CAT:=zcat 
    19  
    20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
    21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install 
     17PKG_MD5SUM:=24a08cf1407000d628a272b08a415dda 
    2218 
    2319PKG_BUILD_DEPENDS:=libnotimpl 
     
    3026  DEPENDS:=@LINUX_2_6 +uclibcxx 
    3127  TITLE:=IPv6 multicast routing daemon 
    32   DESCRIPTION:=Multicast is becoming a major component in next generation\\\ 
    33                 networks, used in several scenarios, from video broadcasting\\\ 
    34                 to multimedia conferencing. In order to be implemented, new\\\ 
    35                 technology needs supporting hardware and software across a set\\\ 
    36                 of devices and systems. MRD6 is an implementation of a modular\\\ 
    37                 IPv6 Multicast Routing Framework for the Linux operating system\\\ 
    38                 and provides MLDv2 (as well as MLDv1), PIM-SM and MBGP support.\\\ 
    3928  URL:=http://artemis.av.it.pt/mrd6/ 
    4029endef 
     
    4433endef 
    4534 
     35define Package/mrd6/description 
     36 Multicast is becoming a major component in next generation networks, used  
     37 in several scenarios, from video broadcasting to multimedia conferencing.  
     38 In order to be implemented, new technology needs supporting hardware and  
     39 software across a set of devices and systems. MRD6 is an implementation of  
     40 a modular IPv6 Multicast Routing Framework for the Linux operating system  
     41 and provides MLDv2 (as well as MLDv1), PIM-SM and MBGP support. 
     42endef 
     43 
    4644define Build/Compile     
    4745        $(MAKE) -C $(PKG_BUILD_DIR)/src \ 
     46                $(TARGET_CONFIGURE_OPTS) \ 
    4847                OPTIMIZE=yes \ 
    4948                SPACE_OPTIMIZE=yes \ 
    5049                FULL_STATIC=no \ 
    51                 CFLAGS="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \ 
    52                 CXX="$(TARGET_CROSS)g++" \ 
    53                 CC="$(TARGET_CC)" \ 
    54                 STAGING_DIR="$(STAGING_DIR)" \ 
     50                CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -DNO_INET6_OPTION -fno-builtin -fno-rtti" \ 
     51                LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -ldl -lm -lnotimpl" \ 
     52                MODULE_CXX="\$$$$(CC) -shared \$$$$(CXXFLAGS) \$$$$(LDFLAGS)" \ 
    5553                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    56                 PREFIX=/usr/ \ 
     54                PREFIX="/usr/" \ 
    5755                install 
    5856endef 
  • packages/ipv6/mrd6/patches/001-dest_prefix.patch

    r8554 r8601  
    1111 ifeq ($(OPTIMIZE),yes) 
    1212        ifeq ($(SPACE_OPTIMIZE),yes) 
    13 @@ -97,7 +97,7 @@ 
    14         endif 
    15  endif 
    16   
    17 -LDFLAGS += -lm 
    18 +LDFLAGS += -L$(STAGING_DIR)/usr/lib -lnotimpl -lm 
    19  ifeq ($(PLATFORM),OS_LINUX) 
    20         LDFLAGS += -ldl 
    21  endif 
Note: See TracChangeset for help on using the changeset viewer.