2011-10-15 22:36:19 +00:00
|
|
|
# Template file for 'libraw'
|
|
|
|
pkgname=libraw
|
2012-09-19 04:33:51 +00:00
|
|
|
version=0.14.7
|
2013-05-17 11:13:04 +00:00
|
|
|
revision=3
|
2011-10-15 22:36:19 +00:00
|
|
|
wrksrc=LibRaw-${version}
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-05-17 11:13:04 +00:00
|
|
|
configure_args="--disable-static --enable-openmp LDFLAGS="
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="lcms2-devel jasper-devel libgomp-devel"
|
2011-10-15 22:36:19 +00:00
|
|
|
short_desc="Raw image decoder library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, CDDL, ${pkgname}"
|
2012-09-19 04:33:51 +00:00
|
|
|
homepage="http://www.libraw.org"
|
|
|
|
distfiles="${homepage}/data/LibRaw-${version}.tar.gz"
|
|
|
|
checksum=7307a607249043bb544f3ab3b3a999e1923d72fbed12e4e2239d172e522143da
|
2011-10-15 22:36:19 +00:00
|
|
|
long_desc="
|
|
|
|
libraw is a library for reading RAW files obtained from digital photo
|
|
|
|
cameras (CRW/CR2, NEF, RAF, DNG, and others)."
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libraw-devel_package() {
|
2013-05-17 11:13:04 +00:00
|
|
|
depends="libgomp-devel lcms2-devel jasper-devel libraw>=${version}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libraw-progs_package() {
|
2013-05-17 11:13:04 +00:00
|
|
|
short_desc+=" - applications"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libraw_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|