OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 1... Line 1...
1 include $(TOPDIR)/rules.mk 1 include $(TOPDIR)/rules.mk
Line 2... Line 2...
2   2  
3 PKG_NAME:=libbsd 3 PKG_NAME:=libbsd
4 PKG_VERSION:=0.8.7 4 PKG_VERSION:=0.3.0
Line 5... Line 5...
5 PKG_RELEASE:=2 5 PKG_RELEASE:=1
6   6  
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz 7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
Line 8... Line 8...
8 PKG_HASH:=f548f10e5af5a08b1e22889ce84315b1ebe41505b015c9596bad03fd13a12b31 8 PKG_HASH:=fbf36ed40443e1d0d795adbae8d461952509e610c3ccf0866ae160b723f7fe38
9 PKG_SOURCE_URL:=https://libbsd.freedesktop.org/releases 9 PKG_SOURCE_URL:=http://libbsd.freedesktop.org/releases
Line 10... Line 10...
10   10  
Line 16... Line 16...
16 PKG_INSTALL:=1 16 PKG_INSTALL:=1
Line 17... Line 17...
17   17  
18 define Package/libbsd 18 define Package/libbsd
19 SECTION:=libs 19 SECTION:=libs
-   20 CATEGORY:=Libraries
20 CATEGORY:=Libraries 21 DEPENDS:=@USE_GLIBC
21 TITLE:=common BSD library -  
22 ABI_VERSION:=0 22 TITLE:=common BSD library
Line 23... Line 23...
23 endef 23 endef
24   24  
25 define Package/libbsd/description 25 define Package/libbsd/description
Line 26... Line 26...
26 This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project. 26 This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project.
27 endef 27 endef
28   28  
29 define Build/InstallDev 29 define Build/InstallDev
-   30 $(INSTALL_DIR) \
-   31 $(1)/lib \
30 $(INSTALL_DIR) $(1)/usr/lib 32 $(1)/usr/include
-   33  
-   34 $(CP) \
-   35 $(PKG_INSTALL_DIR)/lib/libbsd.so* \
31 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig 36 $(1)/lib/
-   37  
-   38 $(CP) \
32 $(INSTALL_DIR) $(1)/usr/include 39 $(PKG_INSTALL_DIR)/usr/include/* \
33 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbsd.{la,so*} $(1)/usr/lib/ 40 $(1)/usr/include/
Line 34... Line 41...
34 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libbsd*.pc $(1)/usr/lib/pkgconfig/ 41  
35 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ 42 ( cd $(1)/lib ; $(LN) libbsd.so.$(PKG_VERSION) libbsd.so )
-   43 endef
-   44  
-   45 define Package/libbsd/install
36 endef 46 $(INSTALL_DIR) \
-   47 $(1)/lib
-   48  
-   49 $(CP) \
37   50 $(PKG_INSTALL_DIR)/lib/libbsd.so* \
Line 38... Line 51...
38 define Package/libbsd/install 51 $(1)/lib/