termux-packages/packages/icecast/build.sh

10 lines
497 B
Bash
Raw Normal View History

2017-02-16 23:46:45 +01:00
TERMUX_PKG_HOMEPAGE=http://icecast.org
TERMUX_PKG_DESCRIPTION="Icecast is a streaming media (audio/video) server"
TERMUX_PKG_VERSION=2.4.3
TERMUX_PKG_SRCURL=http://downloads.xiph.org/releases/icecast/icecast-$TERMUX_PKG_VERSION.tar.gz
2017-02-17 00:18:39 +01:00
TERMUX_PKG_DEPENDS="libcurl, libgnutls, libogg, libvorbis, libxml2, libxslt, mime-support, openssl"
2017-02-16 23:46:45 +01:00
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
perl -p -i -e "s#/etc/mime.types#$TERMUX_PREFIX/etc/mime.types#" $TERMUX_PKG_SRCDIR/src/cfgfile.c
}