aboutsummaryrefslogtreecommitdiffstats
path: root/main/libiec61883
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 22:19:55 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-16 17:32:29 +0000
commit12072a703497e6d2cc5e18a169cc8a484547ed04 (patch)
treefee06beb97f3c6a5b89577b3fa8d5764a347fd4b /main/libiec61883
parent31711d3ff8bd1287606d0c2841f62339274ac8f9 (diff)
downloadaports-12072a703497e6d2cc5e18a169cc8a484547ed04.tar.bz2
aports-12072a703497e6d2cc5e18a169cc8a484547ed04.tar.xz
main/libiec61883: modernise, mark no tests, fix license
Diffstat (limited to 'main/libiec61883')
-rw-r--r--main/libiec61883/APKBUILD31
1 files changed, 12 insertions, 19 deletions
diff --git a/main/libiec61883/APKBUILD b/main/libiec61883/APKBUILD
index cd5ce6db1b..c4209c3a73 100644
--- a/main/libiec61883/APKBUILD
+++ b/main/libiec61883/APKBUILD
@@ -2,32 +2,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libiec61883
pkgver=1.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="Streaming library for IEEE1394"
url="http://ieee1394.wiki.kernel.org/index.php/Libraries#libiec61883"
arch="all"
-license="LGPL-2.0-or-later"
+options="!check" # No test suite.
+license="LGPL-2.1-or-later"
depends=
-depends_dev="libraw1394-dev"
-makedepends="$depends_dev"
+makedepends="libraw1394-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
source="http://www.kernel.org/pub/linux/libs/ieee1394/libiec61883-$pkgver.tar.xz"
-_builddir="$srcdir"/libiec61883-$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
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,14 +29,13 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" INSTALL="install -p" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" INSTALL="install -p" install
}
utils() {