milis/talimatname/genel/podofo/talimat

26 lines
724 B
Plaintext
Raw Normal View History

2017-04-12 10:30:31 +02:00
# Description: C ++ kütüphanesinin PDF dosya formatıyla çalışması için.
2016-02-24 01:27:23 +01:00
# URL: http://podofo.sourceforge.net
2017-04-12 10:30:31 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: cmake xorg-fontconfig freetype libidn libpng libtiff lua51
2017-04-12 10:30:31 +02:00
2016-02-24 01:27:23 +01:00
name=podofo
2017-05-10 13:40:08 +02:00
version=0.9.5
2016-02-24 01:27:23 +01:00
release=1
2017-05-10 13:40:08 +02:00
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
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
}