New package: dcraw

This commit is contained in:
Felix Hanley 2016-09-03 22:36:35 +07:00
parent 2def0a7d24
commit 34fcc4cf3c
1 changed files with 23 additions and 0 deletions

23
srcpkgs/dcraw/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'dcraw'
pkgname=dcraw
version=9.27
revision=1
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="4a0bc163eca6b896463a56c2b4e45b5b02b039e2654508a5982fe69a01288ec1
f52a6b2ed50360240ff44d7ff9ec430ca8195fbb07f48003a1fa63c5a69217aa"
do_build() {
$CC -o dcraw $CFLAGS dcraw.c $LDFLAGS -lm -ljasper -ljpeg -llcms2
}
do_install() {
vbin dcraw
vman dcraw.1
}