termux-packages/packages/recode/build.sh

14 lines
692 B
Bash
Raw Normal View History

2021-05-12 01:12:52 +02:00
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>"
2021-07-17 23:28:53 +02:00
TERMUX_PKG_VERSION=3.7.9
TERMUX_PKG_REVISION=2
2021-05-13 23:33:06 +02:00
TERMUX_PKG_SRCURL=https://github.com/rrthomas/recode/releases/download/v${TERMUX_PKG_VERSION}/recode-${TERMUX_PKG_VERSION}.tar.gz
2021-07-17 23:28:53 +02:00
TERMUX_PKG_SHA256=e4320a6b0f5cd837cdb454fb5854018ddfa970911608e1f01cc2c65f633672c4
TERMUX_PKG_AUTO_UPDATE=true
2021-05-12 01:12:52 +02:00
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"