aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdv
diff options
context:
space:
mode:
Diffstat (limited to 'main/libdv')
-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() {