2011-10-16 00:36:19 +02:00
|
|
|
# Template file for 'libraw'
|
|
|
|
pkgname=libraw
|
2014-02-20 18:39:21 +01:00
|
|
|
version=0.16.0
|
|
|
|
revision=1
|
2011-10-16 00:36:19 +02:00
|
|
|
wrksrc=LibRaw-${version}
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2013-10-11 09:29:34 +02:00
|
|
|
makedepends="lcms2-devel jasper-devel"
|
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-09-19 06:33:51 +02:00
|
|
|
homepage="http://www.libraw.org"
|
2014-02-20 18:39:21 +01:00
|
|
|
distfiles="http://www.libraw.org/data/LibRaw-${version}.tar.gz"
|
|
|
|
checksum=71f43871ec2535345c5c9b748f07813e49915170f9510b721a2be6478426cf96
|
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
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libraw-devel_package() {
|
2013-10-11 09:29:34 +02:00
|
|
|
depends="lcms2-devel jasper-devel libraw>=${version}_${revision}"
|
2013-05-17 13:13:04 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-10-11 09:29:34 +02:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libraw-progs_package() {
|
2013-05-17 13:13:04 +02:00
|
|
|
short_desc+=" - applications"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|