icecast: depend on mime-support
[termux-packages] / packages / icecast / build.sh
1 TERMUX_PKG_HOMEPAGE=http://icecast.org
2 TERMUX_PKG_DESCRIPTION="Icecast is a streaming media (audio/video) server"
3 TERMUX_PKG_VERSION=2.4.3
4 TERMUX_PKG_SRCURL=http://downloads.xiph.org/releases/icecast/icecast-$TERMUX_PKG_VERSION.tar.gz
5 TERMUX_PKG_DEPENDS="libcurl, libgnutls, libogg, libvorbis, libxml2, libxslt, mime-support, openssl"
6 TERMUX_PKG_BUILD_IN_SRC=yes
7
8 termux_step_pre_configure() {
9 perl -p -i -e "s#/etc/mime.types#$TERMUX_PREFIX/etc/mime.types#" $TERMUX_PKG_SRCDIR/src/cfgfile.c
10 }