summaryrefslogtreecommitdiffstats
path: root/extra/ufraw/Pkgfile
blob: b122df9a4b6a3268dcf7e1ab3cd58398f654517f (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, zlib

name=ufraw
version=0.15
release=2
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
}