From fb17e8fbfff88cd85dcabca69ef43a6d56c6cd28 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 17 Apr 2018 00:06:15 +0200 Subject: [PATCH] liblz4: Add package --- packages/liblz4/build.sh | 10 ++++++++++ packages/liblz4/lz4.subpackage.sh | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 packages/liblz4/build.sh create mode 100644 packages/liblz4/lz4.subpackage.sh diff --git a/packages/liblz4/build.sh b/packages/liblz4/build.sh new file mode 100644 index 000000000..412d3b050 --- /dev/null +++ b/packages/liblz4/build.sh @@ -0,0 +1,10 @@ +TERMUX_PKG_HOMEPAGE=https://lz4.github.io/lz4/ +TERMUX_PKG_DESCRIPTION="Fast LZ compression algorithm library" +TERMUX_PKG_VERSION=1.8.1.2 +TERMUX_PKG_SHA256=12f3a9e776a923275b2dc78ae138b4967ad6280863b77ff733028ce89b8123f9 +TERMUX_PKG_SRCURL=https://github.com/lz4/lz4/archive/v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_BUILD_IN_SRC=yes + +termux_step_pre_configure() { + TERMUX_PKG_SRCDIR+=lib +} diff --git a/packages/liblz4/lz4.subpackage.sh b/packages/liblz4/lz4.subpackage.sh new file mode 100644 index 000000000..10cdecad8 --- /dev/null +++ b/packages/liblz4/lz4.subpackage.sh @@ -0,0 +1,3 @@ +TERMUX_SUBPKG_INCLUDE="bin/ share/man/man1/" +TERMUX_SUBPKG_DESCRIPTION="Fast LZ compression algorithm tool" +TERMUX_SUBPKG_DEPENDS="liblz4"