summaryrefslogtreecommitdiffstats
path: root/extra/ufraw/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ufraw/Pkgfile')
-rwxr-xr-xextra/ufraw/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/ufraw/Pkgfile b/extra/ufraw/Pkgfile
new file mode 100755
index 000000000..b122df9a4
--- /dev/null
+++ b/extra/ufraw/Pkgfile
@@ -0,0 +1,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
+}
+