termux-packages/packages/recode/build.sh
Henrik Grimler 38a9375fb3
recode: add libiconv to LIBS
Otherwise we get an error:
CANNOT LINK EXECUTABLE "recode": cannot locate symbol "libiconv_open"

Fixes https://github.com/termux/termux-packages/issues/7857.
2021-10-26 14:05:17 +02:00

14 lines
692 B
Bash

TERMUX_PKG_HOMEPAGE="https://github.com/pinard/Recode"
TERMUX_PKG_DESCRIPTION="Charset converter tool and library"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Marlin Sööse <marlin.soose@laro.se>"
TERMUX_PKG_VERSION=3.7.9
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/rrthomas/recode/releases/download/v${TERMUX_PKG_VERSION}/recode-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=e4320a6b0f5cd837cdb454fb5854018ddfa970911608e1f01cc2c65f633672c4
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libiconv"
# recode needs to be explicitly linked to avoid:
# CANNOT LINK EXECUTABLE "recode": cannot locate symbol "libiconv_open"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="LIBS=-liconv"