# Contributor: Natanael Copa # Maintainer: Natanael Copa setvar pkgname = 'libdc1394' setvar pkgver = '2.2.5' setvar pkgrel = '1' setvar pkgdesc = ""High level programming interface to control IEEE 1394 based cameras"" setvar url = ""http://damien.douxchamps.net/ieee1394/libdc1394/"" setvar arch = ""all"" setvar license = ""LGPL"" setvar depends = '' setvar depends_dev = ""libusb-dev libraw1394-dev"" setvar makedepends = ""$depends_dev linux-headers"" setvar install = """" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/$pkgver/libdc1394-$pkgver.tar.gz 0001-Fix-bad-variable-type-uint-int.patch "" setvar builddir = ""$srcdir"/libdc1394-$pkgver" proc prepare { local i cd $builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 } # 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 #} setvar md5sums = ""01acfcde2cc85863b0acb90dcffa1659 libdc1394-2.2.5.tar.gz bcfa1b825e8c8497884ee571a212618f 0001-Fix-bad-variable-type-uint-int.patch"" setvar sha256sums = ""350cc8d08aee5ffc4e1f3049e2e1c2bc6660642d424595157da97ab5b1263337 libdc1394-2.2.5.tar.gz 6b3d38005b61e40514592f0aeb0279620a3349f91f919392ff0add825b4fa975 0001-Fix-bad-variable-type-uint-int.patch"" setvar sha512sums = ""4a02560b7b2db7199b91c35786cb9d5af51398795fc1b7f0cb577d3563b27c0d03d407fa472d9756a2f87b658350a55d29c16fef401a74f835ba86e25214d13c libdc1394-2.2.5.tar.gz ab19b1aecec17b1caa6b225f626b6adcf80818cb59f693df69e9f0f2b4014846be22aa93473a62da8c7ae937ea8265f90499a9561d48e6bfe931e1e00cb16c60 0001-Fix-bad-variable-type-uint-int.patch""