summaryrefslogtreecommitdiffstats
path: root/testing/ices/APKBUILD
blob: f12f9c974cecc5ba442390b2189e9f40fcbb10e5 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=ices
pkgver=0.4
pkgrel=3
pkgdesc="Source client for broadcasting in MP3 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
			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 \
		|| return 1
	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"
sha256sums="6e71f7c2a5d7415565a3af4f4c688ada4915312714c74bb7567f2b4b6d183074  ices-0.4.tar.gz"
sha512sums="a66c811c4156b92efb615c6024477ae979cdca69701b44853bbd1e6c2696d0ddc618f9ee16b0c7c83591ee50b365210c17732c170dca5266d7cebe2bcd5767d3  ices-0.4.tar.gz"