Changeset 4469


Ignore:
Timestamp:
2006-08-05T18:29:15+02:00 (12 years ago)
Author:
florian
Message:

Port mrd6 to -ng

Location:
packages/net/mrd6
Files:
2 deleted
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • packages/net/mrd6/Makefile

    r3219 r4469  
     1# 
     2# Copyright (C) 2006 OpenWrt.org 
     3# 
     4# This is free software, licensed under the GNU General Public License v2. 
     5# See /LICENSE for more information. 
     6# 
    17# $Id$ 
    28 
     
    1521PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install 
    1622 
    17 include $(TOPDIR)/package/rules.mk 
     23include $(INCLUDE_DIR)/package.mk 
    1824 
    19 $(eval $(call PKG_template,MRD6,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
     25define Package/mrd6 
     26  SECTION:=net 
     27  CATEGORY:=Network 
     28  DEPENDS:=+uclibcxx 
     29  TITLE:=IPv6 multicast routing daemon 
     30  DESCRIPTION:=Multicast is becoming a major component in next generation\\\ 
     31                networks, used in several scenarios, from video broadcasting\\\ 
     32                to multimedia conferencing. In order to be implemented, new\\\ 
     33                technology needs supporting hardware and software across a set\\\ 
     34                of devices and systems. MRD6 is an implementation of a modular\\\ 
     35                IPv6 Multicast Routing Framework for the Linux operating system\\\ 
     36                and provides MLDv2 (as well as MLDv1), PIM-SM and MBGP support.\\\ 
     37  URL:=http://artemis.av.it.pt/mrd6/ 
     38endef 
    2039 
    21 $(PKG_BUILD_DIR)/.configured: 
    22         touch $@ 
     40define Package/mrd6/conffiles 
     41/etc/mrd6.conf 
     42endef 
    2343 
    24 $(PKG_BUILD_DIR)/.built: 
     44define Build/Compile     
    2545        $(MAKE) -C $(PKG_BUILD_DIR)/src \ 
    2646                OPTIMIZE=yes \ 
     
    3454                PREFIX=/usr/ \ 
    3555                install 
    36         install -d -m0755 $(PKG_INSTALL_DIR)/etc/init.d 
    37         install -m0644 files/$(PKG_NAME).conf $(PKG_INSTALL_DIR)/etc 
    38         install -m0755 files/$(PKG_NAME).init $(PKG_INSTALL_DIR)/etc/init.d/S60$(PKG_NAME) 
    39         touch $@ 
     56endef 
    4057 
    41 $(IPKG_MRD6):  
    42         mkdir -p $(IDIR_MRD6)/usr/sbin 
    43         $(CP) $(PKG_INSTALL_DIR)/ $(IDIR_MRD6)/ 
    44         $(RSTRIP) $(IDIR_MRD6)/ 
    45         $(IPKG_BUILD) $(IDIR_MRD6) $(PACKAGE_DIR) 
     58define Package/mrd6/install 
     59        install -d -m0755 $(1)/etc/init.d 
     60        install -m0644 files/mrd6.conf $(1)/etc 
     61        install -m0755 files/mrd6.init $(1)/etc/init.d/S60mrd6 
     62endef 
     63 
     64$(eval $(call BuildPackage,mrd6)) 
Note: See TracChangeset for help on using the changeset viewer.