Update dibbler to 0.6.0, should fix (#1756)
[openwrt/svn-archive/archive.git] / ipv6 / dibbler / Makefile
index b139e7e80f54f3c71d92d3a9c8892e24d78ba5fd..8fff017e29d1d083e3e66d0d4b145cd4a51f96d8 100644 (file)
-#\r
-# Copyright (C) 2006 OpenWrt.org\r
-#\r
-# This is free software, licensed under the GNU General Public License v2.\r
-# See /LICENSE for more information.\r
-#\r
-# $Id$\r
-\r
-include $(TOPDIR)/rules.mk\r
-\r
-PKG_NAME:=dibbler\r
-PKG_VERSION:=0.5.0\r
-PKG_RELEASE:=1\r
-\r
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz\r
-PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler\r
-PKG_MD5SUM:=26a0e37512be7641a2deb0dc5b00e582\r
-PKG_CAT:=zcat\r
-\r
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)\r
-\r
-include $(INCLUDE_DIR)/package.mk\r
-\r
-define Package/dibbler/Default\r
-  SECTION:=ipv6\r
-  CATEGORY:=IPv6\r
-  DEPENDS:=+uclibcxx\r
-  TITLE:=Dibbler, a portable DHCPv6 implementation\r
-  URL:=http://klub.com.pl/dhcpv6/\r
-endef\r
-\r
-define Package/dibbler-client\r
-  $(call Package/dibbler/Default)\r
-  TITLE+= (client)\r
-endef\r
-\r
-define Package/dibbler-relay\r
-  $(call Package/dibbler/Default)\r
-  TITLE+= (relay)\r
-endef\r
-\r
-define Package/dibbler-server\r
-  $(call Package/dibbler/Default)\r
-  TITLE+= (server)\r
-endef\r
-\r
-define Build/Configure\r
-       (cd $(PKG_BUILD_DIR)/poslib; \\r
-               $(TARGET_CONFIGURE_OPTS) \\r
-               CFLAGS="$(TARGET_CFLAGS)" \\r
-               CPPFLAGS="$(EXTRA_CPPFLAGS)" \\r
-               LDFLAGS="$(EXTRA_LDFLAGS)" \\r
-               ./configure \\r
-                       --target=$(GNU_TARGET_NAME) \\r
-                       --host=$(GNU_TARGET_NAME) \\r
-                       --build=$(GNU_HOST_NAME) \\r
-                       --program-prefix="" \\r
-                       --program-suffix="" \\r
-                       --prefix=/usr \\r
-                       --exec-prefix=/usr \\r
-                       --bindir=/usr/bin \\r
-                       --datadir=/usr/share \\r
-                       --includedir=/usr/include \\r
-                       --infodir=/usr/share/info \\r
-                       --libdir=/usr/lib \\r
-                       --libexecdir=/usr/lib \\r
-                       --localstatedir=/var \\r
-                       --mandir=/usr/share/man \\r
-                       --sbindir=/usr/sbin \\r
-                       --sysconfdir=/etc \\r
-                       $(DISABLE_NLS) \\r
-                       $(DISABLE_LARGEFILE) \\r
-       );\r
-endef\r
-\r
-CXX_LIBS:= -nodefaultlibs -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic,-lm,-lc,-lgcc\r
-define Build/Compile\r
-       $(MAKE) -C $(PKG_BUILD_DIR) \\r
-               $(TARGET_CONFIGURE_OPTS) \\r
-               PORT_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) -fno-builtin -fno-rtti" \\r
-               PORT_LDFLAGS="$(EXTRA_LDFLAGS)" \\r
-               DEBUGINFO= \\r
-               CLNT_LIBS="$(CXX_LIBS)" \\r
-               SRV_LIBS="$(CXX_LIBS)" \\r
-               server client relay\r
-endef\r
-\r
-define Package/dibbler-client/install  \r
-       $(INSTALL_DIR) $(1)/usr/sbin\r
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-client $(1)/usr/sbin/\r
-endef\r
-\r
-define Package/dibbler-relay/install   \r
-       $(INSTALL_DIR) $(1)/usr/sbin\r
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-relay $(1)/usr/sbin/\r
-endef\r
-\r
-define Package/dibbler-server/install  \r
-       $(INSTALL_DIR) $(1)/usr/sbin\r
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-server $(1)/usr/sbin/\r
-endef\r
-\r
-$(eval $(call BuildPackage,dibbler-client))\r
-$(eval $(call BuildPackage,dibbler-relay))\r
-$(eval $(call BuildPackage,dibbler-server))\r
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=dibbler
+PKG_VERSION:=0.6.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
+PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler
+PKG_MD5SUM:=26a0e37512be7641a2deb0dc5b00e582
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/dibbler/Default
+  SECTION:=ipv6
+  CATEGORY:=IPv6
+  DEPENDS:=+uclibcxx
+  TITLE:=Dibbler, a portable DHCPv6 implementation
+  URL:=http://klub.com.pl/dhcpv6/
+endef
+
+define Package/dibbler-client
+  $(call Package/dibbler/Default)
+  TITLE+= (client)
+endef
+
+define Package/dibbler-relay
+  $(call Package/dibbler/Default)
+  TITLE+= (relay)
+endef
+
+define Package/dibbler-server
+  $(call Package/dibbler/Default)
+  TITLE+= (server)
+endef
+
+define Build/Configure
+       (cd $(PKG_BUILD_DIR)/poslib; \
+               $(TARGET_CONFIGURE_OPTS) \
+               CFLAGS="$(TARGET_CFLAGS)" \
+               CPPFLAGS="$(EXTRA_CPPFLAGS)" \
+               LDFLAGS="$(EXTRA_LDFLAGS)" \
+               ./configure \
+                       --target=$(GNU_TARGET_NAME) \
+                       --host=$(GNU_TARGET_NAME) \
+                       --build=$(GNU_HOST_NAME) \
+                       --program-prefix="" \
+                       --program-suffix="" \
+                       --prefix=/usr \
+                       --exec-prefix=/usr \
+                       --bindir=/usr/bin \
+                       --datadir=/usr/share \
+                       --includedir=/usr/include \
+                       --infodir=/usr/share/info \
+                       --libdir=/usr/lib \
+                       --libexecdir=/usr/lib \
+                       --localstatedir=/var \
+                       --mandir=/usr/share/man \
+                       --sbindir=/usr/sbin \
+                       --sysconfdir=/etc \
+                       $(DISABLE_NLS) \
+                       $(DISABLE_LARGEFILE) \
+       );
+endef
+
+CXX_LIBS:= -nodefaultlibs -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic,-lm,-lc,-lgcc
+define Build/Compile
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               $(TARGET_CONFIGURE_OPTS) \
+               PORT_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) -fno-builtin -fno-rtti" \
+               PORT_LDFLAGS="$(EXTRA_LDFLAGS)" \
+               DEBUGINFO= \
+               CLNT_LIBS="$(CXX_LIBS)" \
+               SRV_LIBS="$(CXX_LIBS)" \
+               server client relay
+endef
+
+define Package/dibbler-client/install  
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-client $(1)/usr/sbin/
+endef
+
+define Package/dibbler-relay/install   
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-relay $(1)/usr/sbin/
+endef
+
+define Package/dibbler-server/install  
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-server $(1)/usr/sbin/
+endef
+
+$(eval $(call BuildPackage,dibbler-client))
+$(eval $(call BuildPackage,dibbler-relay))
+$(eval $(call BuildPackage,dibbler-server))