aboutsummaryrefslogtreecommitdiffstats
path: root/main/libshout/APKBUILD
blob: 65c689e3236fa6b4652a1c378838c013d9eb27ed (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libshout
pkgver=2.4.1
pkgrel=5
pkgdesc="Library for accessing a shoutcast/icecast server"
url="http://www.icecast.org/"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1"
depends=
makedepends="speex-dev libtheora-dev libvorbis-dev openssl-dev"
install=""
subpackages="$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
}

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

sha512sums="4d4b958947e020de3330d49d39d59220fc89315f25f653a7456b9aa24ca9566fca30bb3d65e6348e79958656096b6b864ea8885157d24e55c8d84d6604670219  libshout-2.4.1.tar.gz
af27d562fbf4f7be08317a97d69ae27d57618f4e6a5bc0131ce633b46a1a8f3cc24aa21ee12e427994d319e455afd8dbc3d061a6df6814958b9b787cfcb19ed8  01-libshout-tls-compile-with-OpenSSL-1.1.0.patch"