2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/libiconv/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Utility converting between different character encodings"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
2017-04-09 23:58:43 +02:00
|
|
|
TERMUX_PKG_VERSION=1.15
|
2016-09-25 00:42:39 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/libiconv/libiconv-${TERMUX_PKG_VERSION}.tar.gz
|
2017-04-09 23:58:43 +02:00
|
|
|
TERMUX_PKG_SHA256=ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178
|
2015-06-13 01:03:31 +02:00
|
|
|
# Only install the binary, not the library since we use libandroid-support for iconv functions:
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-static --disable-shared"
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2017-08-07 20:55:47 +02:00
|
|
|
mkdir -p $TERMUX_PREFIX/share/man/man1
|
2015-06-13 01:03:31 +02:00
|
|
|
make -C lib install # this installs libiconv.{a,la} which the below install task needs:
|
|
|
|
make -C src install
|
|
|
|
rm $TERMUX_PREFIX/lib/libiconv.{a,la}
|
|
|
|
# .. and the man page:
|
|
|
|
cp $TERMUX_PKG_SRCDIR/man/iconv.1 $TERMUX_PREFIX/share/man/man1/
|
|
|
|
}
|