Commit 73c9e54c authored by Leonardo Arena's avatar Leonardo Arena

main/libraw1394: upgrade to 2.1.2

parent 36e00209
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=libraw1394 pkgname=libraw1394
pkgver=2.1.0 pkgver=2.1.2
pkgrel=1 pkgrel=0
pkgdesc="Library to provide access to Linux 1394 subsystem" pkgdesc="Library to provide access to Linux 1394 subsystem"
url="http://sourceforge.net/projects/libraw1394" url="http://sourceforge.net/projects/libraw1394"
arch="all" arch="all"
...@@ -11,16 +11,13 @@ depends_dev= ...@@ -11,16 +11,13 @@ depends_dev=
makedepends="linux-headers" makedepends="linux-headers"
install= install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="ftp://ftp.kernel.org/pub/linux/libs/ieee1394/$pkgname-$pkgver.tar.bz2 source="ftp://ftp.kernel.org/pub/linux/libs/ieee1394/$pkgname-$pkgver.tar.xz"
fix-types.patch
"
builddir="$srcdir"/$pkgname-$pkgver
_builddir="$srcdir"/$pkgname-$pkgver
prepare() { prepare() {
cd "$_builddir" cd "$builddir"
update_config_sub || return 1 # update_config_sub || return 1
for i in $source; do for i in $source; do
case $i in case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
...@@ -29,7 +26,7 @@ prepare() { ...@@ -29,7 +26,7 @@ prepare() {
} }
build() { build() {
cd "$_builddir" cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -43,7 +40,7 @@ build() { ...@@ -43,7 +40,7 @@ build() {
} }
package() { package() {
cd "$_builddir" cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
...@@ -53,9 +50,6 @@ tools() { ...@@ -53,9 +50,6 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr
} }
md5sums="2f8d06a826b658bd0f3f0697e930dd52 libraw1394-2.1.0.tar.bz2 md5sums="118060584c04f1aa5e29c4d22c1c235a libraw1394-2.1.2.tar.xz"
b788709cda898c005a4edb81aeadd8d9 fix-types.patch" sha256sums="03ccc69761d22c7deb1127fc301010dd13e70e44bb7134b8ff0d07590259a55e libraw1394-2.1.2.tar.xz"
sha256sums="81798ea6ce1c7f4eaf9d8970ee635f9ade7fd05735a82b291947814481af45df libraw1394-2.1.0.tar.bz2 sha512sums="1ef38961b747c4ebb18d823a4c38d5bf019f8bd0ac55547838d153b1899b91ae0ff56f5b6732e309d6975b55725d1ce989917ffcf605cf64f7d33624f54f0567 libraw1394-2.1.2.tar.xz"
39369c65fbed7fccc2e6d8e645f258f101c414107d67238f10996e6c2009f20d fix-types.patch"
sha512sums="01e38ae140fc672e82e2702f59530484dc08b3290c42089de48c43844f80584bcfac6d1cb86d47b22ac79b218efedfbb51a4bd2c229a461ec413c1161ea09330 libraw1394-2.1.0.tar.bz2
08477876ff0d627a1d1038da442728b1d6cfc281fa8f27448d9a73119476d51998954c804d83d8825c7b75ccd71f16ddeacdb453073afbc263bb4d56caa4e198 fix-types.patch"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment