38 lines
967 B
Text
38 lines
967 B
Text
# Template file for 'libraw'
|
|
pkgname=libraw
|
|
version=0.15.4
|
|
revision=2
|
|
wrksrc=LibRaw-${version}
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="lcms2-devel jasper-devel"
|
|
short_desc="Raw image decoder library"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2, CDDL, ${pkgname}"
|
|
homepage="http://www.libraw.org"
|
|
distfiles="${homepage}/data/LibRaw-${version}.tar.gz"
|
|
checksum=b3fcfee33bc34ae5869a9741880e28a62f029f196cb1d1a007ab156f4a110f79
|
|
|
|
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
|
|
}
|
|
}
|