summaryrefslogtreecommitdiffstats
path: root/testing/icecast/APKBUILD
blob: 73135371a337932a78b0d3cceaa98721447532f8 (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
# Contributor: 
# Maintainer: 
pkgname=icecast
pkgver=2.3.2
pkgrel=0
pkgdesc="Open source media server"
url="http://www.icecast.org"
license="GPL"
depends=
makedepends="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev"
subpackages="$pkgname-doc"
source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz
	icecast.initd"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
	install -D -m755 ../icecast.initd "$pkgdir"/etc/init.d/icecast
}

md5sums="ff516b3ccd2bcc31e68f460cd316093f  icecast-2.3.2.tar.gz
b6f2fc5eaada6e9389784ccf43f68684  icecast.initd"