diff options
author | Daniel Engberg <daniel.engberg.lists@pyret.net> | 2018-05-02 10:23:45 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-08-25 15:40:23 +0200 |
commit | e341f45913beac28e5574d470ed79e4b6f9ee255 (patch) | |
tree | 65cc0fa8d05772715a1ac298466b2215de891583 /package/libs/libbsd/Makefile | |
parent | 6cda4f68619ec139be7897ea61b7f22c72c38b59 (diff) | |
download | upstream-e341f45913beac28e5574d470ed79e4b6f9ee255.tar.gz upstream-e341f45913beac28e5574d470ed79e4b6f9ee255.tar.bz2 upstream-e341f45913beac28e5574d470ed79e4b6f9ee255.zip |
libbsd: Update to 0.8.7
Update libbsd to 0.8.7
Remove glibc dependency
Clean up InstallDev and install entries
Use /usr path for consistency
Cherry pick patches from upstream to fix musl compilation
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'package/libs/libbsd/Makefile')
-rw-r--r-- | package/libs/libbsd/Makefile | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/package/libs/libbsd/Makefile b/package/libs/libbsd/Makefile index 11232c7415..a425b83398 100644 --- a/package/libs/libbsd/Makefile +++ b/package/libs/libbsd/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libbsd -PKG_VERSION:=0.3.0 +PKG_VERSION:=0.8.7 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_HASH:=fbf36ed40443e1d0d795adbae8d461952509e610c3ccf0866ae160b723f7fe38 -PKG_SOURCE_URL:=http://libbsd.freedesktop.org/releases +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_HASH:=f548f10e5af5a08b1e22889ce84315b1ebe41505b015c9596bad03fd13a12b31 +PKG_SOURCE_URL:=https://libbsd.freedesktop.org/releases PKG_LICENSE:=BSD-4-Clause PKG_LICENSE_FILES:=COPYING @@ -18,7 +18,6 @@ PKG_INSTALL:=1 define Package/libbsd SECTION:=libs CATEGORY:=Libraries - DEPENDS:=@USE_GLIBC TITLE:=common BSD library endef @@ -27,30 +26,17 @@ define Package/libbsd/description endef define Build/InstallDev - $(INSTALL_DIR) \ - $(1)/lib \ - $(1)/usr/include - - $(CP) \ - $(PKG_INSTALL_DIR)/lib/libbsd.so* \ - $(1)/lib/ - - $(CP) \ - $(PKG_INSTALL_DIR)/usr/include/* \ - $(1)/usr/include/ - - ( cd $(1)/lib ; $(LN) libbsd.so.$(PKG_VERSION) libbsd.so ) + $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbsd.{la,so*} $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libbsd*.pc $(1)/usr/lib/pkgconfig/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ endef define Package/libbsd/install - $(INSTALL_DIR) \ - $(1)/lib - - $(CP) \ - $(PKG_INSTALL_DIR)/lib/libbsd.so* \ - $(1)/lib/ - - ( cd $(1)/lib ; $(LN) libbsd.so.$(PKG_VERSION) libbsd.so ) + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbsd.so* $(1)/usr/lib/ endef $(eval $(call BuildPackage,libbsd)) |