aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdc1394/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-17 11:00:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-17 11:00:01 +0000
commit7e9320ce004b8d0916ceeafec732e00434a945b2 (patch)
treeec8a90b530fb305e76a08bcf2ed606466386e4b8 /main/libdc1394/APKBUILD
parent95b74692ab2b86aff72857fa886fbea1e7e006a9 (diff)
downloadaports-7e9320ce004b8d0916ceeafec732e00434a945b2.tar.bz2
aports-7e9320ce004b8d0916ceeafec732e00434a945b2.tar.xz
main/libdc1394: build fix
patch is from upstream
Diffstat (limited to 'main/libdc1394/APKBUILD')
-rw-r--r--main/libdc1394/APKBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/main/libdc1394/APKBUILD b/main/libdc1394/APKBUILD
index c9cc65944f..738b885c11 100644
--- a/main/libdc1394/APKBUILD
+++ b/main/libdc1394/APKBUILD
@@ -2,17 +2,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libdc1394
pkgver=2.1.3
-pkgrel=0
+pkgrel=1
pkgdesc="High level programming interface to control IEEE 1394 based cameras"
url="http://damien.douxchamps.net/ieee1394/libdc1394/"
arch="all"
license="LGPL"
depends=
depends_dev="libusb-dev libraw1394-dev"
-makedepends="$depends_dev"
+makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/libdc1394-$pkgver.tar.gz"
+source="http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/libdc1394-$pkgver.tar.gz
+ conditional-dc1394_vloopback.patch"
_builddir="$srcdir"/libdc1394-$pkgver
prepare() {
@@ -23,6 +24,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ libtoolize --force && aclocal && autoconf && automake
}
build() {
@@ -41,4 +43,13 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="d8b2cbfae1b329fdeaa638da80427334 libdc1394-2.1.3.tar.gz"
+# there is on ly one tool and its only 4k...
+#tools() {
+# pkgdesc="Tools to use with $pkgname"
+# replaces="$pkgname"
+# mkdir -p "$subpkgdir"/usr/
+# mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+#}
+
+md5sums="d8b2cbfae1b329fdeaa638da80427334 libdc1394-2.1.3.tar.gz
+33a30ef4e4a881707011ff4554c57c38 conditional-dc1394_vloopback.patch"