34 lines
993 B
Plaintext
34 lines
993 B
Plaintext
|
# Template file for 'libraw'
|
||
|
pkgname=libraw
|
||
|
version=0.14.1
|
||
|
wrksrc=LibRaw-${version}
|
||
|
homepage="http://www.libraw.org"
|
||
|
distfiles="${homepage}/data/LibRaw-${version}.tar.gz"
|
||
|
build_style=gnu_configure
|
||
|
short_desc="Raw image decoder library"
|
||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||
|
license="GPL-2, CDDL, ${pkgname}"
|
||
|
checksum=4e1f66ba74055c097ed9ee64d200ed6226b499436a6ecdfb24e449cc80d537f5
|
||
|
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 run libgcc
|
||
|
Add_dependency run glibc
|
||
|
Add_dependency run libstdc++
|
||
|
Add_dependency run libgomp
|
||
|
Add_dependency run libjasper
|
||
|
Add_dependency run lcms2
|
||
|
|
||
|
Add_dependency build pkg-config
|
||
|
Add_dependency build lcms2-devel
|
||
|
Add_dependency build jasper-devel
|
||
|
|
||
|
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
|
||
|
}
|