source: packages/ipv6/mrd6/Makefile @ 4474

Last change on this file since 4474 was 4474, checked in by florian, 10 years ago

Move dhcp6, mrd6 and 6tunnel to ipv6 section

  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
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#
7# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=mrd6
12PKG_VERSION:=0.9.5
13PKG_RELEASE:=1
14PKG_MD5SUM:=24a08cf1407000d628a272b08a415dda
15
16PKG_SOURCE_URL:=http://hng.av.it.pt/mrd6/download/
17PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18PKG_CAT:=zcat
19
20PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23include $(INCLUDE_DIR)/package.mk
24
25define Package/mrd6
26  SECTION:=ipv6
27  CATEGORY:=IPv6
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
39
40define Package/mrd6/conffiles
41/etc/mrd6.conf
42endef
43
44define Build/Compile   
45        $(MAKE) -C $(PKG_BUILD_DIR)/src \
46                OPTIMIZE=yes \
47                SPACE_OPTIMIZE=yes \
48                FULL_STATIC=yes \
49                CFLAGS="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \
50                CXX=$(TARGET_CROSS)g++ \
51                CC=$(TARGET_CC) \
52                STAGING_DIR=$(STAGING_DIR) \
53                DESTDIR=$(PKG_INSTALL_DIR) \
54                PREFIX=/usr/ \
55                install
56endef
57
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 TracBrowser for help on using the repository browser.