summaryrefslogtreecommitdiff
path: root/user/libshout/APKBUILD
blob: a4624bb2c37a257101de5fe436ba68db62d77a51 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: 
pkgname=libshout
pkgver=2.4.3
pkgrel=0
pkgdesc="Library for accessing a Icecast server"
url="https://www.icecast.org/"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.0+"
depends=""
makedepends="speex-dev libtheora-dev libvorbis-dev openssl-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="https://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
         make LDFLAGS+=-lspeex
}

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

sha512sums="fe36778c6640e620f27504cb21234940e18a65a33f9178bf7e77d4baf854a9affc82d85db8ed8c1c8e2d80399685d8be10106fff5be1ddf76e03e2ffeeed1d34  libshout-2.4.3.tar.gz"