termux-packages/packages/icecast/build.sh

15 lines
667 B
Bash
Raw Normal View History

2017-08-11 12:51:30 +02:00
TERMUX_PKG_HOMEPAGE=https://icecast.org
2017-02-16 23:46:45 +01:00
TERMUX_PKG_DESCRIPTION="Icecast is a streaming media (audio/video) server"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2018-11-09 14:04:27 +01:00
TERMUX_PKG_VERSION=2.4.4
TERMUX_PKG_REVISION=1
2017-08-11 12:51:30 +02:00
TERMUX_PKG_SRCURL=https://downloads.xiph.org/releases/icecast/icecast-$TERMUX_PKG_VERSION.tar.gz
2018-11-09 14:04:27 +01:00
TERMUX_PKG_SHA256=49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44
2017-02-17 00:18:39 +01:00
TERMUX_PKG_DEPENDS="libcurl, libgnutls, libogg, libvorbis, libxml2, libxslt, mime-support, openssl"
TERMUX_PKG_BUILD_IN_SRC=true
2017-02-16 23:46:45 +01:00
termux_step_pre_configure() {
perl -p -i -e "s#/etc/mime.types#$TERMUX_PREFIX/etc/mime.types#" $TERMUX_PKG_SRCDIR/src/cfgfile.c
2017-08-11 12:51:30 +02:00
}