PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_HASH:=fbf36ed40443e1d0d795adbae8d461952509e610c3ccf0866ae160b723f7fe38
PKG_SOURCE_URL:=http://libbsd.freedesktop.org/releases
-#PKG_MD5SUM:=d0870f2de55d59c1c8419f36e8fac150
-PKG_LICENSE:=BSD-4c
+PKG_LICENSE:=BSD-4-Clause
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk
define Package/libbsd
SECTION:=libs
CATEGORY:=Libraries
- DEPENDS:=@!USE_UCLIBC
+ DEPENDS:=@USE_GLIBC
TITLE:=common BSD library
endef
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
- ( cd $(1)/lib ; ln -s libbsd.so.$(PKG_VERSION) libbsd.so )
+ ( cd $(1)/lib ; $(LN) libbsd.so.$(PKG_VERSION) libbsd.so )
endef
define Package/libbsd/install
$(PKG_INSTALL_DIR)/lib/libbsd.so* \
$(1)/lib/
- ( cd $(1)/lib ; ln -s libbsd.so.$(PKG_VERSION) libbsd.so )
+ ( cd $(1)/lib ; $(LN) libbsd.so.$(PKG_VERSION) libbsd.so )
endef
$(eval $(call BuildPackage,libbsd))