termux-packages/packages/xmlstarlet/build.sh

15 lines
658 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://xmlstar.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Command line XML toolkit"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="MIT"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_VERSION=1.6.1
2019-07-03 15:56:52 +02:00
TERMUX_PKG_REVISION=3
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/xmlstar/xmlstarlet/${TERMUX_PKG_VERSION}/xmlstarlet-${TERMUX_PKG_VERSION}.tar.gz
2017-02-12 22:15:13 +01:00
TERMUX_PKG_SHA256=15d838c4f3375332fd95554619179b69e4ec91418a3a5296e7c631b7ed19e7ca
TERMUX_PKG_DEPENDS="libxslt, libxml2"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-libxml-include-prefix=${TERMUX_PREFIX}/include/libxml2"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_BUILD_IN_SRC=yes
2019-07-03 15:03:01 +02:00
termux_step_post_make_install() {
2019-07-03 15:56:31 +02:00
ln -sfr $TERMUX_PREFIX/bin/xml $TERMUX_PREFIX/bin/xmlstarlet
2019-07-03 15:03:01 +02:00
}