summaryrefslogtreecommitdiffstats
path: root/extra/ufraw/Pkgfile
blob: 37f2b1cac869cc16e0f734cf8bf32aa0dfce231e (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.15
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
}