milis/talimatname/genel/f/freeimage/talimat

35 lines
925 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
}