aboutsummaryrefslogtreecommitdiffstats
path: root/main/libshout/APKBUILD
blob: d6091fedb05c6344df012e9501ed3dc8886f8e4c (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libshout
pkgver=2.4.2
pkgrel=0
pkgdesc="Library for accessing a shoutcast/icecast server"
url="http://www.icecast.org/"
arch="all"
license="LGPL-2.1"
makedepends="speex-dev libtheora-dev libvorbis-dev openssl-dev"
subpackages="$pkgname-static $pkgname-doc $pkgname-dev"
source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz
	01-libshout-tls-compile-with-OpenSSL-1.1.0.patch"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="ae4b042009887de22d105eb8238f4362f6ff51bd645fd51b5a87c4b5e3f5fdc99e9f99f85c24ae2e9d23eab92b854a7e733bf9f8cc61a8362ce984f02a014e93  libshout-2.4.2.tar.gz
16534c0e3873075ce628a3cb14d4faf0f25cf0596e7bb1489b0ea6af89900e44cfedf0e06b2f58f1d67950904cd8f9c99fcb9d9b01df009558ed1401e2ab237e  01-libshout-tls-compile-with-OpenSSL-1.1.0.patch"