void-packages/srcpkgs/libraw/template

40 lines
1,012 B
Text
Raw Normal View History

2011-10-15 22:36:19 +00:00
# Template file for 'libraw'
pkgname=libraw
version=0.16.0
revision=1
2011-10-15 22:36:19 +00:00
wrksrc=LibRaw-${version}
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="lcms2-devel jasper-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"
2014-11-30 20:09:48 +00:00
update_site="${homepage}/download"
distfiles="http://www.libraw.org/data/LibRaw-${version}.tar.gz"
checksum=71f43871ec2535345c5c9b748f07813e49915170f9510b721a2be6478426cf96
2011-10-15 22:36:19 +00: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
}
libraw-devel_package() {
depends="lcms2-devel jasper-devel libraw>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
libraw-progs_package() {
short_desc+=" - applications"
pkg_install() {
vmove usr/bin
}
}