APKBUILD 980 Bytes
Newer Older
1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
2
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
3 4 5
pkgname=ices2
_pkgname=ices
pkgver=2.0.1
6
pkgrel=3
7 8 9 10 11
pkgdesc="source client for broadcasting in Ogg Vorbis format to an icecast2 server."
url="http://icecast.org/ices.php"
arch="all"
license="GPL"
depends=
12
depends_dev="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev"
13 14 15 16 17 18 19
makedepends="$depends_dev"
install=""
subpackages=""
source="http://downloads.us.xiph.org/releases/ices/$_pkgname-$pkgver.tar.gz"
_builddir=$srcdir/$_pkgname-$pkgver
build() {
	cd "$_builddir"
20
	./configure --prefix=/usr \
21 22
		--disable-sun-audio \
		--enable-alsa
23 24 25 26
	make || return 1
}
package() {
	cd "$_builddir"
27
 	mkdir -p "$pkgdir"/etc/$pkgname
28
	make DESTDIR="$pkgdir" install || return 1
29 30 31 32
	cd "$_builddir"/conf
	for i in `ls *.xml`; do
                install -m644 -D $i "$pkgdir"/etc/$pkgname/$i
        done
33 34
}
md5sums="0d95ac34d59fed337028d5e7771076d8  ices-2.0.1.tar.gz"