summaryrefslogtreecommitdiff
path: root/user/libshout
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 03:19:12 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 03:19:12 -0500
commit7d63a5ac0fd270d352d2b1e5686907f8f49f85fa (patch)
treef3da6132f7a2ca13be3f10a4b6b18945f5b29a50 /user/libshout
parentce782318ca2fe30d0157903314b64d01425874b0 (diff)
downloadpackages-7d63a5ac0fd270d352d2b1e5686907f8f49f85fa.tar.gz
packages-7d63a5ac0fd270d352d2b1e5686907f8f49f85fa.tar.bz2
packages-7d63a5ac0fd270d352d2b1e5686907f8f49f85fa.tar.xz
packages-7d63a5ac0fd270d352d2b1e5686907f8f49f85fa.zip
user/libshout: pull in, fix up, modernise
Diffstat (limited to 'user/libshout')
-rw-r--r--user/libshout/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/libshout/APKBUILD b/user/libshout/APKBUILD
new file mode 100644
index 000000000..5e0f491b5
--- /dev/null
+++ b/user/libshout/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer:
+pkgname=libshout
+pkgver=2.4.1
+pkgrel=2
+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="4d4b958947e020de3330d49d39d59220fc89315f25f653a7456b9aa24ca9566fca30bb3d65e6348e79958656096b6b864ea8885157d24e55c8d84d6604670219 libshout-2.4.1.tar.gz"