APKBUILD 945 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=ices
pkgver=0.4
pkgrel=0
pkgdesc="Source client for broadcasting in MP3 format to an icecast2 server"
url="http://icecast.org/ices.php"
arch="all"
license="GPL"
depends=""
depends_dev="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev lame-dev perl-dev python-dev libxml2-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://downloads.us.xiph.org/releases/ices/$pkgname-$pkgver.tar.gz"
_builddir=$srcdir/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--with-lame \
		--with-vorbis \
		--with-python \
		--with-perl
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -m644 -D conf/$pkgname.conf.dist "$pkgdir"/etc/$pkgname/$pkgname.conf
}

md5sums="d31450c4011561dae0229f071cb41cb6  ices-0.4.tar.gz"