liblz4: Add package

This commit is contained in:
Fredrik Fornwall 2018-04-17 00:06:15 +02:00
parent 13b7b89f2a
commit 021f784e3f
2 changed files with 13 additions and 0 deletions

10
packages/liblz4/build.sh Normal file
View File

@ -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
}

View File

@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="bin/ share/man/man1/"
TERMUX_SUBPKG_DESCRIPTION="Fast LZ compression algorithm tool"
TERMUX_SUBPKG_DEPENDS="liblz4"