void-packages/srcpkgs/dcraw/template

24 lines
652 B
Bash

# Template file for 'dcraw'
pkgname=dcraw
version=9.27
revision=4
build_style=fetch
makedepends="jasper-devel lcms2-devel"
short_desc="Convert raw photos"
maintainer="Felix Hanley <felix@userspace.com.au>"
license="GPL-2"
homepage="https://www.cybercom.net/~dcoffin/dcraw/"
distfiles="https://www.cybercom.net/~dcoffin/dcraw/dcraw.c
https://www.cybercom.net/~dcoffin/dcraw/dcraw.1"
checksum="d18d9e43a096eea04eee2148e53068f8fa45ce95395d97128b1aa37b477eab43
f52a6b2ed50360240ff44d7ff9ec430ca8195fbb07f48003a1fa63c5a69217aa"
do_build() {
$CC -o dcraw $CFLAGS dcraw.c $LDFLAGS -lm -ljasper -ljpeg -llcms2
}
do_install() {
vbin dcraw
vman dcraw.1
}