forked from ports/contrib
20 lines
679 B
Plaintext
20 lines
679 B
Plaintext
# Description: C program that decodes raw images from nearly any digitall camera
|
|
# URL: http://www.cybercom.net/~dcoffin/dcraw/
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
|
# Depends on: lcms2 jasper
|
|
|
|
name=dcraw
|
|
version=9.22
|
|
release=1
|
|
source=(http://www.cybercom.net/~dcoffin/dcraw/archive/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name
|
|
gcc $CFLAGS -o dcraw dcraw.c \
|
|
-Wall -Wno-unused-result -Wno-array-bounds -Wno-maybe-uninitialized \
|
|
-Wno-aggressive-loop-optimizations -Wno-unused-but-set-variable \
|
|
-lm -ljasper -ljpeg -llcms2
|
|
install -m 644 -D dcraw.1 $PKG/usr/man/man1/dcraw.1
|
|
install -m 755 -D dcraw $PKG/usr/bin/dcraw
|
|
}
|