termux-packages/packages/serd/build.sh

24 lines
617 B
Bash
Raw Normal View History

2022-04-11 20:48:14 +02:00
TERMUX_PKG_HOMEPAGE=https://drobilla.net/software/serd.html
TERMUX_PKG_DESCRIPTION="A lightweight C library for RDF syntax"
TERMUX_PKG_LICENSE="ISC"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.30.10
TERMUX_PKG_SRCURL=https://download.drobilla.net/serd-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=affa80deec78921f86335e6fc3f18b80aefecf424f6a5755e9f2fa0eb0710edf
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_configure() {
./waf configure \
--prefix=$TERMUX_PREFIX \
LINKFLAGS="$LDFLAGS" \
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
}
termux_step_make() {
./waf
}
termux_step_make_install() {
./waf install
}