liblzma: build versioned library
This commit is contained in:
parent
d6525d048c
commit
30addee83a
@ -5,7 +5,7 @@ TERMUX_PKG_DEPENDS="libcurl, liblzma, dpkg, gpgv, libc++, termux-exec, zlib"
|
||||
TERMUX_PKG_RECOMMENDS="game-repo, science-repo"
|
||||
TERMUX_PKG_SUGGESTS="unstable-repo"
|
||||
TERMUX_PKG_VERSION=1.4.9
|
||||
TERMUX_PKG_REVISION=4
|
||||
TERMUX_PKG_REVISION=5
|
||||
TERMUX_PKG_SHA256=d4d65e7c84da86f3e6dcc933bba46a08db429c9d933b667c864f5c0e880bac0d
|
||||
TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
|
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://packages.debian.org/dpkg
|
||||
TERMUX_PKG_DESCRIPTION="Debian package management system"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_VERSION=1.19.4
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SHA256=c15234e98655689586bff2d517a6fdc6135d139c54d52ae9cfa6a90007fee0ae
|
||||
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/debian/pool/main/d/dpkg/dpkg_${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
|
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.libarchive.org/
|
||||
TERMUX_PKG_DESCRIPTION="Multi-format archive and compression library"
|
||||
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
||||
TERMUX_PKG_VERSION=3.3.3
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_REVISION=4
|
||||
TERMUX_PKG_SHA256=ba7eb1781c9fbbae178c4c6bad1c6eb08edab9a1496c64833d1715d022b30e2e
|
||||
TERMUX_PKG_SRCURL=https://www.libarchive.org/downloads/libarchive-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_DEPENDS="libbz2, liblzma, libxml2, openssl, zlib"
|
||||
|
@ -2,5 +2,6 @@ TERMUX_PKG_HOMEPAGE=https://tukaani.org/xz/
|
||||
TERMUX_PKG_DESCRIPTION="XZ-format compression library"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_VERSION=5.2.4
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SHA256=9717ae363760dedf573dad241420c5fea86256b65bc21d2cf71b2b12f0544f4b
|
||||
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/xz-${TERMUX_PKG_VERSION}.tar.xz
|
||||
|
39
packages/liblzma/configure.patch
Normal file
39
packages/liblzma/configure.patch
Normal file
@ -0,0 +1,39 @@
|
||||
diff -uNr xz-5.2.4/configure xz-5.2.4.mod/configure
|
||||
--- xz-5.2.4/configure 2018-04-29 19:01:24.000000000 +0300
|
||||
+++ xz-5.2.4.mod/configure 2019-05-03 15:50:52.793155366 +0300
|
||||
@@ -14026,26 +14026,6 @@
|
||||
dynamic_linker=no
|
||||
;;
|
||||
|
||||
-linux*android*)
|
||||
- version_type=none # Android doesn't support versioned libraries.
|
||||
- need_lib_prefix=no
|
||||
- need_version=no
|
||||
- library_names_spec='$libname$release$shared_ext'
|
||||
- soname_spec='$libname$release$shared_ext'
|
||||
- finish_cmds=
|
||||
- shlibpath_var=LD_LIBRARY_PATH
|
||||
- shlibpath_overrides_runpath=yes
|
||||
-
|
||||
- # This implies no fast_install, which is unacceptable.
|
||||
- # Some rework will be needed to allow for fast_install
|
||||
- # before this can be enabled.
|
||||
- hardcode_into_libs=yes
|
||||
-
|
||||
- dynamic_linker='Android linker'
|
||||
- # Don't embed -rpath directories since the linker doesn't support them.
|
||||
- hardcode_libdir_flag_spec='-L$libdir'
|
||||
- ;;
|
||||
-
|
||||
# This must be glibc/ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
version_type=linux # correct to gnu/linux during the next big refactor
|
||||
@@ -14053,7 +14033,7 @@
|
||||
need_version=no
|
||||
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
||||
soname_spec='$libname$release$shared_ext$major'
|
||||
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
||||
+ finish_cmds=
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
shlibpath_overrides_runpath=no
|
||||
|
Loading…
Reference in New Issue
Block a user