[package] fix dibbler dependencies (#6879)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20292 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2010-03-18 22:11:37 +00:00
parent d49f948a0a
commit 86bbe7ee19

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dibbler
PKG_VERSION:=0.7.3
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler/
@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/dibbler/Default
SECTION:=ipv6
CATEGORY:=IPv6
DEPENDS:=+uclibcxx @LINUX_2_6
DEPENDS:=+uclibcxx @LINUX_2_6 +libpthread
TITLE:=Dibbler, a portable DHCPv6 implementation
URL:=http://klub.com.pl/dhcpv6/
endef
@ -35,6 +35,16 @@ define Package/dibbler/Default/description
autoconfiguration for IPv6.
endef
define Package/dibbler-poslib
$(call Package/dibbler/Default)
TITLE+= (helper lib)
endef
define Package/dibbler-poslib/description
$(call Package/dibbler/Default/description)
This package contains the pos library.
endef
define Package/dibbler-client
$(call Package/dibbler/Default)
TITLE+= (client)
@ -57,6 +67,7 @@ endef
define Package/dibbler-server
$(call Package/dibbler/Default)
DEPENDS += +dibbler-poslib
TITLE+= (server)
endef
@ -109,6 +120,11 @@ define Build/Compile
server client relay
endef
define Package/dibbler-poslib/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/./poslib/poslib/.libs/libposlib.so* $(1)/usr/lib/
endef
define Package/dibbler-client/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-client $(1)/usr/sbin/
@ -124,6 +140,7 @@ define Package/dibbler-server/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-server $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,dibbler-poslib))
$(eval $(call BuildPackage,dibbler-client))
$(eval $(call BuildPackage,dibbler-relay))
$(eval $(call BuildPackage,dibbler-server))