termux-packages/packages/transmission/build.sh

19 lines
768 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://www.transmissionbt.com/
TERMUX_PKG_DESCRIPTION="Easy, lean and powerful BitTorrent client"
TERMUX_PKG_DEPENDS="curl, libevent, openssl"
2016-03-08 02:35:31 +01:00
TERMUX_PKG_VERSION=2.92
2017-01-28 10:42:52 +01:00
TERMUX_PKG_REVISION=2
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=https://transmission.cachefly.net/transmission-${TERMUX_PKG_VERSION}.tar.xz
2017-01-28 10:42:52 +01:00
TERMUX_PKG_SHA256=3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f
2015-06-13 01:03:31 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gtk --enable-lightweight --cache-file=termux_configure.cache"
termux_step_pre_configure() {
# liblog for android logging in syslog hack:
LDFLAGS+=" -llog"
2015-06-13 01:03:31 +02:00
cd $TERMUX_PKG_SRCDIR
2015-06-13 01:03:31 +02:00
echo "ac_cv_func_getmntent=no" >> termux_configure.cache
echo "ac_cv_search_getmntent=false" >> termux_configure.cache
chmod a-w termux_configure.cache
2015-06-13 01:03:31 +02:00
}