aboutsummaryrefslogtreecommitdiffstats
path: root/community/ices/APKBUILD
blob: bc1bcb183302cff2b5043b3e3aa470c546ffd40c (plain) (blame)
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 <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ices
pkgver=2.0.3
pkgrel=0
pkgdesc="Source client for broadcasting in MP3 format to an icecast2 server"
url="http://icecast.org/ices.php"
arch="all"
license="GPL-2.0-or-later"
makedepends="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev
	lame-dev perl-dev linux-headers"
subpackages="$pkgname-doc"
source="http://downloads.us.xiph.org/releases/ices/ices-$pkgver.tar.gz"
replaces="ices2"

build() {
	./configure \
		--prefix=/usr \
		--datadir=/usr/share/doc/ \
		--with-alsa \
		--with-lame \
		--with-vorbis \
		--with-python \
		--with-perl
	make
}

package() {
	make DESTDIR="$pkgdir" install
	make -C conf DESTDIR="$pkgdir" install
}

sha512sums="98a4130e5089106e6736bdc1f9e5cecd3a512d30e8e8c9009bb75ae41dbaa3b63740546ce188429e85957495b6911757d5b8348ce5092ae3c638fb21bfe132b3  ices-2.0.3.tar.gz"