bb27a0ec42
Many of them cascading from the update of glib.
21 lines
708 B
Bash
21 lines
708 B
Bash
TERMUX_PKG_HOMEPAGE=http://serf.apache.org/
|
|
TERMUX_PKG_DESCRIPTION="High performance C-based HTTP client library"
|
|
TERMUX_PKG_VERSION=1.3.8
|
|
TERMUX_PKG_SRCURL=http://serf.googlecode.com/svn/src_releases/serf-${TERMUX_PKG_VERSION}.tar.bz2
|
|
TERMUX_PKG_DEPENDS="apr-util, openssl"
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
termux_step_make_install () {
|
|
scons APR=$TERMUX_PREFIX \
|
|
APU=$TERMUX_PREFIX \
|
|
CC=`which $CC` \
|
|
CFLAGS="$CFLAGS -std=c99" \
|
|
CPPFLAGS="$CPPFLAGS" \
|
|
LINKFLAGS="$LDFLAGS" \
|
|
OPENSSL=$TERMUX_PREFIX \
|
|
PREFIX=$TERMUX_PREFIX \
|
|
install
|
|
# Avoid specifying -lcrypt:
|
|
perl -p -i -e 's/-lcrypt //' $TERMUX_PREFIX/lib/pkgconfig/serf-1.pc
|
|
}
|