void-packages/srcpkgs/libraw/template
Juergen Buchmueller 16113485f9 libraw: fix narrowing patch
The patch was missing to modify the last constant 0x10.
2016-09-14 20:27:20 +02:00

37 lines
969 B
Bash

# Template file for 'libraw'
pkgname=libraw
version=0.17.2
revision=3
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="GPL-2, CDDL, ${pkgname}"
homepage="http://www.libraw.org"
distfiles="http://www.libraw.org/data/LibRaw-${version}.tar.gz"
checksum=92b0c42c7666eca9307e5e1f97d6fefc196cf0b7ee089e22880259a76fafd15c
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
}
}