mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-01 10:31:50 +02:00
abuild seems to have an issue not adding proper provides to speex-dev we add speex-dev to depends-dev as a workaround
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=libshout
|
|
pkgver=2.4.1
|
|
pkgrel=1
|
|
pkgdesc="Library for accessing a shoutcast/icecast server"
|
|
url="http://www.icecast.org/"
|
|
arch="all"
|
|
license="LGPL"
|
|
depends=
|
|
# speex-dev has an isuse to add proper provides
|
|
# probaby due to an abuild issue so we need to set speex-dev to depends-dev
|
|
depends_dev="speex-dev"
|
|
makedepends="$depends_dev libtheora-dev libvorbis-dev"
|
|
install=""
|
|
subpackages="$pkgname-doc $pkgname-dev"
|
|
source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
#update_config_sub || return 1
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var || return 1
|
|
make LDFLAGS+=-lspeex || return 1
|
|
|
|
}
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="89cebf8cb0197f639cde69c95177fe47 libshout-2.4.1.tar.gz"
|
|
sha256sums="f3acb8dec26f2dbf6df778888e0e429a4ce9378a9d461b02a7ccbf2991bbf24d libshout-2.4.1.tar.gz"
|
|
sha512sums="4d4b958947e020de3330d49d39d59220fc89315f25f653a7456b9aa24ca9566fca30bb3d65e6348e79958656096b6b864ea8885157d24e55c8d84d6604670219 libshout-2.4.1.tar.gz"
|