aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdv/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-02 17:44:05 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-03-06 00:43:11 +0000
commitd1e3ac978d9246b3f3c4c52763f60d781d0dce85 (patch)
treee9fe6836964e3dc6a42c9499360e7cc5d479b563 /main/libdv/APKBUILD
parentc700732c1bd1faef80ab0f8bacf15076f56b9f9d (diff)
downloadaports-d1e3ac978d9246b3f3c4c52763f60d781d0dce85.tar.bz2
aports-d1e3ac978d9246b3f3c4c52763f60d781d0dce85.tar.xz
main/libdv: modernise, mark no tests
Diffstat (limited to 'main/libdv/APKBUILD')
-rw-r--r--main/libdv/APKBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/main/libdv/APKBUILD b/main/libdv/APKBUILD
index dd52c8b5dd..9327a75e10 100644
--- a/main/libdv/APKBUILD
+++ b/main/libdv/APKBUILD
@@ -6,6 +6,7 @@ pkgrel=3
pkgdesc="Software decoder for DV format video"
url="http://libdv.sourceforge.net/"
arch="all"
+options="!check" # No test suite.
license="LGPL-2.0-or-later"
depends=
makedepends="gtk+-dev libxv-dev sdl-dev autoconf automake libtool
@@ -20,22 +21,16 @@ source="http://downloads.sourceforge.net/libdv/libdv-$pkgver.tar.gz
automake.patch
"
-_builddir="$srcdir"/libdv-$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
rm -f missing
libtoolize --force && aclocal && autoconf && automake --add-missing
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -44,14 +39,13 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --with-pic \
- || return 1
- make || return 1
+ --with-pic
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
tools() {