blob: 017556e4e539c41dec2f91d42a9c4f4403b37035 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=libraw1394
pkgver=2.1.0
pkgrel=1
pkgdesc="Library to provide access to Linux 1394 subsystem"
url="http://sourceforge.net/projects/libraw1394"
arch="all"
license="LGPL"
depends=
depends_dev=
makedepends=""
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="ftp://ftp.kernel.org/pub/linux/libs/ieee1394/$pkgname-$pkgver.tar.bz2
fix-types.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/*.la
}
tools() {
pkgdesc="Tools for libraw1394"
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
md5sums="2f8d06a826b658bd0f3f0697e930dd52 libraw1394-2.1.0.tar.bz2
19638d27477be8be3102e2cc154ae553 fix-types.patch"
sha256sums="81798ea6ce1c7f4eaf9d8970ee635f9ade7fd05735a82b291947814481af45df libraw1394-2.1.0.tar.bz2
6b831c9fd2dbf62c37b27a3a8cc77edd62e1e6bad192344e3a3dc675ba41e351 fix-types.patch"
sha512sums="01e38ae140fc672e82e2702f59530484dc08b3290c42089de48c43844f80584bcfac6d1cb86d47b22ac79b218efedfbb51a4bd2c229a461ec413c1161ea09330 libraw1394-2.1.0.tar.bz2
2b9d6e0fe279f714ebd152205eb4a3b0f2beb38a07d1cc2867291df2f707edd91a9bcfa79ae5dfec06ce709bd733215e732401736d9d9178ce1bf3cbeeb325cd fix-types.patch"
|