diff options
Diffstat (limited to 'main/libdc1394/APKBUILD')
-rw-r--r-- | main/libdc1394/APKBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/main/libdc1394/APKBUILD b/main/libdc1394/APKBUILD index 696a1db5af..a70c511330 100644 --- a/main/libdc1394/APKBUILD +++ b/main/libdc1394/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libdc1394 -pkgver=2.2.4 +pkgver=2.2.5 pkgrel=0 pkgdesc="High level programming interface to control IEEE 1394 based cameras" url="http://damien.douxchamps.net/ieee1394/libdc1394/" @@ -12,12 +12,14 @@ depends_dev="libusb-dev libraw1394-dev" makedepends="$depends_dev linux-headers" install="" subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/$pkgver/libdc1394-$pkgver.tar.gz" +source="http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/$pkgver/libdc1394-$pkgver.tar.gz + 0001-Fix-build-with-musl-libc.patch + " -_builddir="$srcdir"/libdc1394-$pkgver +builddir="$srcdir"/libdc1394-$pkgver prepare() { local i - cd "$_builddir" + cd "$builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -26,7 +28,7 @@ prepare() { } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -40,7 +42,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } @@ -52,6 +54,9 @@ package() { # mv "$pkgdir"/usr/bin "$subpkgdir"/usr #} -md5sums="620eb745d64b714c6009f3e6f2ba33ec libdc1394-2.2.4.tar.gz" -sha256sums="a93689a353c241884a98727128f315ecf9965db70dca710b08af10e5fa0d2e6f libdc1394-2.2.4.tar.gz" -sha512sums="adb461fc5562855c3d26279971e25f38f3356c21e6be3fe343390c322d78f2515cf071da00da0ff39aec0d08147851354a2a0dbf325ad2fc179659e6ef5ab6e9 libdc1394-2.2.4.tar.gz" +md5sums="01acfcde2cc85863b0acb90dcffa1659 libdc1394-2.2.5.tar.gz +ab577e13d2efb2e426c726965989c6be 0001-Fix-build-with-musl-libc.patch" +sha256sums="350cc8d08aee5ffc4e1f3049e2e1c2bc6660642d424595157da97ab5b1263337 libdc1394-2.2.5.tar.gz +f58f9c7177d2713959f2e8b9c9bb02124027d3fd17137f2191f65373a88dece2 0001-Fix-build-with-musl-libc.patch" +sha512sums="4a02560b7b2db7199b91c35786cb9d5af51398795fc1b7f0cb577d3563b27c0d03d407fa472d9756a2f87b658350a55d29c16fef401a74f835ba86e25214d13c libdc1394-2.2.5.tar.gz +7ce7c49941ca1240f9a93492aea77681ca8c29911cc7f9be90708b05a3c5993d3aac2b550c3d5c3e7e4f7a5203850dbbedf77f6a715525aaea366fce7e767cc6 0001-Fix-build-with-musl-libc.patch" |