aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmms
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 22:42:19 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-16 17:34:02 +0000
commit22a1f51608761554eaf6d57583ae83d64464bfe6 (patch)
treef85fbb89e00315ec6d1d7b41e189630c5596548e /main/libmms
parent652c24b9cc07bf50cc0f4118255d3d0088060bc8 (diff)
downloadaports-22a1f51608761554eaf6d57583ae83d64464bfe6.tar.bz2
aports-22a1f51608761554eaf6d57583ae83d64464bfe6.tar.xz
main/libmms: modernise, mark no tests, fix license
Diffstat (limited to 'main/libmms')
-rw-r--r--main/libmms/APKBUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/main/libmms/APKBUILD b/main/libmms/APKBUILD
index ba5132947c..110d088658 100644
--- a/main/libmms/APKBUILD
+++ b/main/libmms/APKBUILD
@@ -6,7 +6,8 @@ pkgrel=0
pkgdesc="MMS stream protocol library"
url="https://sourceforge.net/projects/libmms/"
arch="all"
-license="LGPL"
+options="!check" # No test suite.
+license="LGPL-2.0+"
depends=
makedepends="glib-dev"
install=
@@ -14,15 +15,14 @@ subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
"
-_builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -30,16 +30,13 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="d6b665b335a6360e000976e770da7691 libmms-0.6.4.tar.gz"
-sha256sums="3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f libmms-0.6.4.tar.gz"
sha512sums="9771c697515f5232eaeaff79e68fe15e34d8aa38aa5d3d68525216357223f314c544d71b5fe18d79a77682f41b1b5d9fb5e7c3c99d0cba5723d2e3de31faec96 libmms-0.6.4.tar.gz"