summaryrefslogblamecommitdiff
path: root/user/libshout/APKBUILD
blob: f3b9e279642a2f4cb5ef8e3c5880269813a486b6 (plain) (tree)
1
2
3
4
5


                                                           

            

























                                                                             
                                                                                                                                                                    
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: 
pkgname=libshout
pkgver=2.4.2
pkgrel=0
pkgdesc="Library for accessing a Icecast server"
url="http://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() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
         make LDFLAGS+=-lspeex
}

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

sha512sums="ae4b042009887de22d105eb8238f4362f6ff51bd645fd51b5a87c4b5e3f5fdc99e9f99f85c24ae2e9d23eab92b854a7e733bf9f8cc61a8362ce984f02a014e93  libshout-2.4.2.tar.gz"