| 1 | TERMUX_PKG_HOMEPAGE=https://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=https://downloads.xiph.org/releases/icecast/icecast-$TERMUX_PKG_VERSION.tar.gz |
| 5 | TERMUX_PKG_SHA256=c85ca48c765d61007573ee1406a797ae6cb31fb5961a42e7f1c87adb45ddc592 |
| 6 | TERMUX_PKG_DEPENDS="libcurl, libgnutls, libogg, libvorbis, libxml2, libxslt, mime-support, openssl" |
| 7 | TERMUX_PKG_BUILD_IN_SRC=yes |
| 8 | |
| 9 | termux_step_pre_configure() { |
| 10 | perl -p -i -e "s#/etc/mime.types#$TERMUX_PREFIX/etc/mime.types#" $TERMUX_PKG_SRCDIR/src/cfgfile.c |
| 11 | } |