milis/talimatname/genel/p/podofo/talimat

27 lines
728 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: C++ kütüphanesinin PDF dosya formatıyla çalışması için.
# URL: http://podofo.sourceforge.net
# Paketçi: milisarge
# Gerekler: cmake xorg-fontconfig freetype libidn libpng libtiff lua51
# Grup: kütüphane
isim=podofo
surum=0.9.5
devir=1
kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 ..\
-DLUA_INCLUDE_DIR=/usr/include/lua5.1 .. \
-DPODOFO_BUILD_SHARED=1 \
-DPODOFO_HAVE_JPEG_LIB=1 \
-DPODOFO_HAVE_PNG_LIB=1 \
-DPODOFO_HAVE_TIFF_LIB=1
make
make DESTDIR=$PKG install
}