From ee8ec36b21b7c410ca7d605741599fde527337a0 Mon Sep 17 00:00:00 2001 From: milisbir Date: Wed, 3 Jan 2018 09:40:41 +0200 Subject: [PATCH] freeimage --- talimatname/genel/f/freeimage/talimat | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 talimatname/genel/f/freeimage/talimat diff --git a/talimatname/genel/f/freeimage/talimat b/talimatname/genel/f/freeimage/talimat new file mode 100644 index 000000000..d60ac3f71 --- /dev/null +++ b/talimatname/genel/f/freeimage/talimat @@ -0,0 +1,34 @@ +# Tanım: Popüler grafik görüntü formatlarını desteklemek isteyen geliştiriciler için Kütüphane projesi +# URL: http://freeimage.sourceforge.net/ +# Paketçi: Cihan Alkan +# Gerekler: clang +# Grup: kütüphane + +isim=freeimage +surum=3.17.0 +devir=1 +kaynak=(http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${surum}/FreeImage${surum//./}.zip) + +derle() { + cp -r FreeImage FreeImagefip + + export CFLAGS+=" -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS" + export CXXFLAGS+=" -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy" + + export CC="clang" + export CXX="clang++" + + cd FreeImage + make + + cd ${SRC}/FreeImagefip + CXX=clang++ make -f Makefile.fip + + cd ${SRC}/FreeImage + make DESTDIR=${PKG} install + + cd ${SRC}/FreeImagefip + make -f Makefile.fip DESTDIR=${PKG} install + + install -D -m644 ${SRC}/FreeImage/license-fi.txt ${PKG}/usr/share/licenses/${isim}/LICENSE +}