summaryrefslogtreecommitdiff
path: root/user/libraw/APKBUILD
blob: 843c9542765511d62de810256f1a5390ee8cd1e5 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libraw
pkgver=0.19.4
pkgrel=0
pkgdesc="Read RAW image files from digital cameras"
url="https://www.libraw.org/"
arch="all"
license="LGPL-2.1-only OR CDDL-1.0"
depends=""
makedepends="jasper-dev lcms2-dev libjpeg-turbo-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.libraw.org/data/LibRaw-$pkgver.tar.gz"
builddir="$srcdir/LibRaw-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e9f0b18b8be52119ff504d2645a011eca391a62bf651064dcbec4b6e16b3b09fda49e632453b051d3aae2ac3a8be021e5b71d7202913759ad1d61641d3318c4c  LibRaw-0.19.4.tar.gz"