summaryrefslogtreecommitdiffstats
path: root/extra/ufraw/Pkgfile
blob: efa7820bbc8d5a9f9e99e3831ee7215c17723834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Description: outil seul ou plugin pour Gimp de conversion de fichier raw (inclu dcraw) 
# URL: http://ufraw.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
# Depends on: gimp, exiv2, lcms, libexif, libjpeg, libpng, libtiff

name=ufraw
version=0.16
release=1
source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz\
	ufraw-0.15-glibc-2.10.patch)
build() {
cd ufraw-$version
patch -Np1 -i ../ufraw-0.15-glibc-2.10.patch
	./configure --prefix=/usr \
	--enable-extras \
	--enable-mime \
	--enable-openmp \
	--with-libexif \
	--with-exiv2
	sed -i 's@-ffast-math -fomit-frame-pointer -W -Wall -O3@$CFLAGS@g' Makefile
	make
	make DESTDIR=$PKG install
}