5c4bab68a1
Closes: #11870 [via git-merge-pr]
37 lines
960 B
Bash
37 lines
960 B
Bash
# Template file for 'libraw'
|
|
pkgname=libraw
|
|
version=0.18.8
|
|
revision=1
|
|
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@voidlinux.eu>"
|
|
license="LGPL-2.1, CDDL"
|
|
homepage="http://www.libraw.org"
|
|
distfiles="http://www.libraw.org/data/LibRaw-${version}.tar.gz"
|
|
checksum=56aca4fd97038923d57d2d17d90aa11d827f1f3d3f1d97e9f5a0d52ff87420e2
|
|
|
|
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="${makedepends} 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
|
|
}
|
|
}
|