2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://caca.zoy.org/wiki/libcaca
|
|
|
|
TERMUX_PKG_DESCRIPTION="Graphics library that outputs text instead of pixels"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="WTFPL"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_VERSION=0.99.beta19
|
2019-11-17 23:35:57 +01:00
|
|
|
TERMUX_PKG_REVISION=8
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://fossies.org/linux/privat/libcaca-${TERMUX_PKG_VERSION}.tar.gz
|
2017-03-04 22:03:54 +01:00
|
|
|
TERMUX_PKG_SHA256=128b467c4ed03264c187405172a4e83049342cc8cc2f655f53a2d0ee9d3772f4
|
2019-11-17 23:35:57 +01:00
|
|
|
TERMUX_PKG_DEPENDS="imlib2, libc++, ncurses, zlib"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libcaca-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libcaca-dev"
|
2019-11-17 23:35:57 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-doc
|
|
|
|
--disable-java
|
|
|
|
--disable-python
|
|
|
|
--disable-ruby
|
|
|
|
--enable-imlib2
|
|
|
|
"
|
2016-06-17 12:36:18 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_post_configure() {
|
2016-06-17 12:36:18 +02:00
|
|
|
if [ $TERMUX_ARCH = x86_64 ]; then
|
|
|
|
# Remove troublesome asm usage:
|
|
|
|
perl -p -i -e 's/#define HAVE_FLDLN2 1//' $TERMUX_PKG_BUILDDIR/config.h
|
|
|
|
fi
|
|
|
|
}
|