summaryrefslogtreecommitdiff
path: root/user/libavc1394
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-02 23:23:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-02 23:23:18 +0000
commitc33214f0f31529c15696bee344e08abb1446e996 (patch)
tree5f093429d177905cbdaaec66aeaa535a4e8e304f /user/libavc1394
parent33b95bdbff212f69a303f61b9235839c127cc17d (diff)
downloadpackages-c33214f0f31529c15696bee344e08abb1446e996.tar.gz
packages-c33214f0f31529c15696bee344e08abb1446e996.tar.bz2
packages-c33214f0f31529c15696bee344e08abb1446e996.tar.xz
packages-c33214f0f31529c15696bee344e08abb1446e996.zip
user/*: Modernise / fix syntax / deps
Diffstat (limited to 'user/libavc1394')
-rw-r--r--user/libavc1394/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/user/libavc1394/APKBUILD b/user/libavc1394/APKBUILD
index 5fd7c7ef6..a76d47301 100644
--- a/user/libavc1394/APKBUILD
+++ b/user/libavc1394/APKBUILD
@@ -8,22 +8,20 @@ url="https://sourceforge.net/projects/libavc1394/"
arch="all"
license="LGPL-2.1+"
depends=""
-makedepends="libraw1394-dev libtool automake autoconf"
-[ "$CLIBC" != "eglibc" ] && makedepends="$makedepends argp-standalone"
+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"
+ argp.patch
+ "
prepare() {
- cd "$builddir"
- update_config_sub
default_prepare
+ update_config_sub
libtoolize && aclocal && autoconf && automake --add-missing
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -36,12 +34,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}