summaryrefslogtreecommitdiffstats
path: root/testing/ices2/APKBUILD
blob: 84c99a3fd6354437ada18ca11a9987c4f748631a (plain)
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
34
35
36
37
38
39
40
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=ices2
_pkgname=ices
pkgver=2.0.2
pkgrel=0
pkgdesc="source client for broadcasting in Ogg Vorbis format to an icecast2 server"
url="http://icecast.org/ices.php"
arch="all"
license="GPL2"
depends=
depends_dev="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://downloads.us.xiph.org/releases/ices/$_pkgname-$pkgver.tar.bz2"

_builddir=$srcdir/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--disable-sun-audio \
		--enable-alsa \
		|| return 1
	make || return 1
}
package() {
	cd "$_builddir"
 	mkdir -p "$pkgdir"/etc/$pkgname
	make DESTDIR="$pkgdir" install || return 1
	cd "$_builddir"/conf
	for i in `ls *.xml`; do
                install -m644 -D $i "$pkgdir"/etc/$pkgname/$i
        done
}

md5sums="832c448cc993170a70fd95804fcda5b2  ices-2.0.2.tar.bz2"
sha256sums="96458df835033c39236ad3bb099286c033241f8ea7c138e7ccf714e7ade75900  ices-2.0.2.tar.bz2"
sha512sums="ff257b478a7237886ba59bf7d1a494ebd4c7c12fd74e8e10c00ea65710249ead1b5b1ae8d9540fab05f2e4486949c6e350f3da59a1d1bf261397ca257806b2c7  ices-2.0.2.tar.bz2"