aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-08 15:40:25 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-08 19:23:24 +0000
commit85ecb630814725691762c333dd0521f1574ac5d4 (patch)
tree7d9cfd6d1aa7e1001537906c3ce76ff7c9440ae4
parentb8105e143dba4c7e2aa2f0a861a8a2f726fc6adb (diff)
downloadaports-85ecb630814725691762c333dd0521f1574ac5d4.tar.gz
aports-85ecb630814725691762c333dd0521f1574ac5d4.tar.bz2
aports-85ecb630814725691762c333dd0521f1574ac5d4.tar.xz
community/libavc1394: modernize
-rw-r--r--community/libavc1394/APKBUILD12
1 files changed, 2 insertions, 10 deletions
diff --git a/community/libavc1394/APKBUILD b/community/libavc1394/APKBUILD
index e70c8217fa..d69ffc14ba 100644
--- a/community/libavc1394/APKBUILD
+++ b/community/libavc1394/APKBUILD
@@ -7,24 +7,18 @@ pkgdesc="Audio/Video Control library for IEEE-1394 devices"
url="https://sourceforge.net/projects/libavc1394/"
arch="all"
license="GPL-2.0-or-later LGPL-2.0-or-later"
-depends=
-makedepends="libraw1394-dev libtool automake autoconf"
-[ "$ALPINE_LIBC" != "eglibc" ] && makedepends="$makedepends argp-standalone"
-install=""
+makedepends="libraw1394-dev libtool automake autoconf argp-standalone"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/libavc1394/libavc1394-$pkgver.tar.gz
automake.patch
argp.patch"
prepare() {
- cd "$builddir"
- update_config_sub
default_prepare
- libtoolize && aclocal && autoconf && automake --add-missing
+ autoreconf -fi
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -37,12 +31,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}