diff --git a/srcpkgs/dcraw/template b/srcpkgs/dcraw/template new file mode 100644 index 00000000000..122aaba152c --- /dev/null +++ b/srcpkgs/dcraw/template @@ -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 " +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 +}