2011-10-16 00:36:19 +02:00
|
|
|
# Template file for 'libraw'
|
|
|
|
pkgname=libraw
|
2012-03-02 08:44:15 +01:00
|
|
|
version=0.14.5
|
2011-10-16 00:36:19 +02:00
|
|
|
wrksrc=LibRaw-${version}
|
|
|
|
homepage="http://www.libraw.org"
|
|
|
|
distfiles="${homepage}/data/LibRaw-${version}.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-16 00:36:19 +02:00
|
|
|
short_desc="Raw image decoder library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, CDDL, ${pkgname}"
|
2012-03-02 08:44:15 +01:00
|
|
|
checksum=f8b17f5fd0c2801f05dfb7cdee7c55e399094cdb53d521be0cd6d5317291f080
|
2011-10-16 00:36:19 +02:00
|
|
|
long_desc="
|
|
|
|
libraw is a library for reading RAW files obtained from digital photo
|
|
|
|
cameras (CRW/CR2, NEF, RAF, DNG, and others)."
|
|
|
|
|
|
|
|
subpackages="${pkgname}-devel ${pkgname}-progs"
|
|
|
|
|
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build lcms2-devel
|
|
|
|
Add_dependency build jasper-devel
|
2012-03-02 08:44:15 +01:00
|
|
|
Add_dependency build libgomp-devel
|
2011-10-16 00:36:19 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/share/licenses
|
|
|
|
rm -f ${DESTDIR}/usr/share/doc/libraw/Changelog.txt
|
|
|
|
mv ${DESTDIR}/usr/share/doc/libraw ${DESTDIR}/usr/share/licenses
|
|
|
|
}
|