aboutsummaryrefslogtreecommitdiffstats
path: root/community/ices/APKBUILD
blob: 942d776097a2baec010ca2f0b9e6653e2d8a461f (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
34
35
36
37
38
39
40
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ices
pkgver=2.0.2
pkgrel=4
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 python2-dev linux-headers"
subpackages="$pkgname-doc"
source="http://downloads.us.xiph.org/releases/ices/$pkgname-$pkgver.tar.gz"
replaces="ices2"

prepare() {
	default_prepare
	update_config_guess
}

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
}

md5sums="d2f53320ebc7b468d0e0f8a3d2b70883  ices-2.0.2.tar.gz"
sha256sums="7bf7a9c5bce1b6465df8dd1491e303544990006b8ef01f8ba8eeb38844588859  ices-2.0.2.tar.gz"
sha512sums="b8d55e4cb7498576aec42c69cea6410e4fc0b2ffb8559575b35b8cb7857b769dbb5633ac206eebd74068bbbac60b4642847c9b261786463e1c46b8930add3d1b  ices-2.0.2.tar.gz"