From c11e8a837743ea8760c2a3ac2dd6f5731f4e66d9 Mon Sep 17 00:00:00 2001 From: its-pointless Date: Sat, 26 May 2018 12:08:02 +1000 Subject: [PATCH] brotli lossless compression library and utility --- packages/brotli/build.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packages/brotli/build.sh diff --git a/packages/brotli/build.sh b/packages/brotli/build.sh new file mode 100644 index 000000000..3e892484d --- /dev/null +++ b/packages/brotli/build.sh @@ -0,0 +1,15 @@ +TERMUX_PKG_HOMEPAGE=https://github.com/google/brotli +TERMUX_PKG_DESCRIPTION="lossless compression algorithm and format (command line utility)" +TERMUX_PKG_VERSION=1.0.3 +TERMUX_PKG_SRCURL=https://github.com/google/brotli/archive/v$TERMUX_PKG_VERSION.tar.gz +TERMUX_PKG_SHA256=7948154166ef8556f8426a4ede219aaa98a81a5baffe1f7cf2523fa67d59cd1c +TERMUX_PKG_BUILD_IN_SRC=yes + +termux_step_pre_configure() { + ./bootstrap +} + +termux_step_post_make_install() { + cp docs/brotli.1 $TERMUX_PREFIX/share/man/man1 + cp docs/*.3 $TERMUX_PREFIX/share/man/man3 +}