diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-01-22 19:17:32 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-01-24 10:39:30 +0100 |
commit | 0e70f69a35fd79be781c859c12487b626e243e96 (patch) | |
tree | 2025021f55f831e09f0f102969e01532881b8147 /package/libs/libiconv-full | |
parent | 60558790a2a832265ec041131e851b6648f514d4 (diff) | |
download | upstream-0e70f69a35fd79be781c859c12487b626e243e96.tar.gz upstream-0e70f69a35fd79be781c859c12487b626e243e96.tar.bz2 upstream-0e70f69a35fd79be781c859c12487b626e243e96.zip |
treewide: revise library packaging
- Annotate versionless libraries (such as libubox, libuci etc.) with a fixed
ABI_VERSION resembling the source date of the last incompatible change
- Annotate packages shipping versioned library objects with ABI_VERSION
- Stop shipping unversioned library symlinks for packages with ABI_VERSION
Ref: https://openwrt.org/docs/guide-developer/package-policies#shared_libraries
Ref: https://github.com/KanjiMonster/maintainer-tools/blob/master/check-abi-versions.pl
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/libs/libiconv-full')
-rw-r--r-- | package/libs/libiconv-full/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package/libs/libiconv-full/Makefile b/package/libs/libiconv-full/Makefile index ac7bfddf56..b01db76d2a 100644 --- a/package/libs/libiconv-full/Makefile +++ b/package/libs/libiconv-full/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libiconv-full PKG_VERSION:=1.11.1 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io> @@ -34,6 +34,7 @@ define Package/libiconv-full SECTION:=libs CATEGORY:=Libraries TITLE+= library + ABI_VERSION:=2 endef define Package/libcharset @@ -41,6 +42,7 @@ define Package/libcharset SECTION:=libs CATEGORY:=Libraries TITLE+= library + ABI_VERSION:=1 endef define Package/iconv @@ -77,12 +79,12 @@ endef define Package/libcharset/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcharset.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcharset.so.* $(1)/usr/lib/ endef define Package/libiconv-full/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.so.* $(1)/usr/lib/ endef define Package/iconv/install |