gegl: Update from 0.3.30 to 0.3.32
[termux-packages] / packages / iconv / build.sh
CommitLineData
59f0d218
FF
1TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/libiconv/
2TERMUX_PKG_DESCRIPTION="Utility converting between different character encodings"
50ec51d8 3TERMUX_PKG_VERSION=1.15
722ed12d 4TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/libiconv/libiconv-${TERMUX_PKG_VERSION}.tar.gz
50ec51d8 5TERMUX_PKG_SHA256=ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178
59f0d218
FF
6# Only install the binary, not the library since we use libandroid-support for iconv functions:
7TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-static --disable-shared"
8
9termux_step_make_install () {
1d0e9461 10 mkdir -p $TERMUX_PREFIX/share/man/man1
59f0d218
FF
11 make -C lib install # this installs libiconv.{a,la} which the below install task needs:
12 make -C src install
13 rm $TERMUX_PREFIX/lib/libiconv.{a,la}
14 # .. and the man page:
15 cp $TERMUX_PKG_SRCDIR/man/iconv.1 $TERMUX_PREFIX/share/man/man1/
16}