summaryrefslogblamecommitdiff
path: root/user/libraw/APKBUILD
blob: 843c9542765511d62de810256f1a5390ee8cd1e5 (plain) (tree)
1
2
3
4


                                                  
             











                                                          










                                         



                  


                                      
                                                                                                                                                                   
# 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"