talimat 724 B

1234567891011121314151617181920212223242526
  1. # Description: C ++ kütüphanesinin PDF dosya formatıyla çalışması için.
  2. # URL: http://podofo.sourceforge.net
  3. # Packager: milisarge
  4. # Depends on: cmake xorg-fontconfig freetype libidn libpng libtiff lua51
  5. name=podofo
  6. version=0.9.5
  7. release=1
  8. source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
  9. build() {
  10. cd $name-$version
  11. mkdir build
  12. cd build
  13. cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
  14. -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 ..\
  15. -DLUA_INCLUDE_DIR=/usr/include/lua5.1 .. \
  16. -DPODOFO_BUILD_SHARED=1 \
  17. -DPODOFO_HAVE_JPEG_LIB=1 \
  18. -DPODOFO_HAVE_PNG_LIB=1 \
  19. -DPODOFO_HAVE_TIFF_LIB=1
  20. make
  21. make DESTDIR=$PKG install
  22. }