diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 23:43:03 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-17 13:33:22 +0000 |
commit | 3d171721b688c0ca909614cf9caa8688e317e999 (patch) | |
tree | afea5e880cb9cb497610d2b3cc40c3fbbd860b06 | |
parent | a56f34a2f923eca0267ce95752c06f38130ec64c (diff) | |
download | aports-3d171721b688c0ca909614cf9caa8688e317e999.tar.bz2 aports-3d171721b688c0ca909614cf9caa8688e317e999.tar.xz |
main/libshout: modernise, fix license, mark no tests
-rw-r--r-- | main/libshout/APKBUILD | 36 |
1 files changed, 11 insertions, 25 deletions
diff --git a/main/libshout/APKBUILD b/main/libshout/APKBUILD index fef4536387..daf5f7af79 100644 --- a/main/libshout/APKBUILD +++ b/main/libshout/APKBUILD @@ -2,46 +2,32 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=libshout pkgver=2.4.1 -pkgrel=1 +pkgrel=2 pkgdesc="Library for accessing a shoutcast/icecast server" url="http://www.icecast.org/" arch="all" -license="LGPL" +options="!check" # No test suite. +license="LGPL-2.1" 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" +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" -_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" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var || return 1 - make LDFLAGS+=-lspeex || return 1 - + --localstatedir=/var + make LDFLAGS+=-lspeex } + package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="89cebf8cb0197f639cde69c95177fe47 libshout-2.4.1.tar.gz" -sha256sums="f3acb8dec26f2dbf6df778888e0e429a4ce9378a9d461b02a7ccbf2991bbf24d libshout-2.4.1.tar.gz" sha512sums="4d4b958947e020de3330d49d39d59220fc89315f25f653a7456b9aa24ca9566fca30bb3d65e6348e79958656096b6b864ea8885157d24e55c8d84d6604670219 libshout-2.4.1.tar.gz" |