2018-05-26 04:08:02 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/google/brotli
|
|
|
|
TERMUX_PKG_DESCRIPTION="lossless compression algorithm and format (command line utility)"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2018-10-28 23:21:42 +01:00
|
|
|
TERMUX_PKG_VERSION=1.0.7
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-10-28 23:21:42 +01:00
|
|
|
TERMUX_PKG_SHA256=4c61bfb0faca87219ea587326c467b95acb25555b53d1a421ffa3c8a9296ee2c
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="brotli-dev"
|
|
|
|
TERMUX_PKG_REPLACES="brotli-dev"
|
2018-05-26 04:08:02 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/google/brotli/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2018-05-27 14:51:20 +02:00
|
|
|
TERMUX_PKG_FORCE_CMAKE=yes
|
2018-05-26 04:08:02 +02:00
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
2018-05-27 14:51:20 +02:00
|
|
|
mkdir -p $TERMUX_PREFIX/share/man/man{1,3}
|
|
|
|
cp $TERMUX_PKG_SRCDIR/docs/brotli.1 $TERMUX_PREFIX/share/man/man1/
|
|
|
|
cp $TERMUX_PKG_SRCDIR/docs/*.3 $TERMUX_PREFIX/share/man/man3/
|
2018-05-26 04:08:02 +02:00
|
|
|
}
|