# HG changeset patch # User Hans-G?nter Theisgen # Date 1641202363 -3600 # Node ID c903329801b8c0df7d52ff5aeadaf3c3e9abc1fe # Parent e353df107302f4baaf9b638457a69da2f59b3878 updated podofo and podofo-dev (0.9.6 -> 0.9.7) diff -r e353df107302 -r c903329801b8 podofo-dev/receipt --- a/podofo-dev/receipt Sun Jan 02 17:17:07 2022 +0100 +++ b/podofo-dev/receipt Mon Jan 03 10:32:43 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="podofo-dev" -VERSION="0.9.6" +VERSION="0.9.7" CATEGORY="development" SHORT_DESC="PDF library - development files." MAINTAINER="pankso@slitaz.org" @@ -14,8 +14,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib + cook_copy_folders include + cook_copy_files *.*a } diff -r e353df107302 -r c903329801b8 podofo/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/podofo/description.txt Mon Jan 03 10:32:43 2022 +0100 @@ -0,0 +1,6 @@ +The PoDoFo library is a free, portable C++ library. +It can parse and modify existing PDF files and create new ones from scratch. +It also includes several tools to work with PDF files. +It features an unique approach which provides access to PDF documents via an +object tree. Therefore, PDFs can be created and or manipulated using a simple +tree structure. diff -r e353df107302 -r c903329801b8 podofo/receipt --- a/podofo/receipt Sun Jan 02 17:17:07 2022 +0100 +++ b/podofo/receipt Mon Jan 03 10:32:43 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="podofo" -VERSION="0.9.6" +VERSION="0.9.7" CATEGORY="office" SHORT_DESC="PDF library." MAINTAINER="pankso@slitaz.org" @@ -26,22 +26,22 @@ # Rules to configure and make the package. compile_rules() { - cmake . \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=RELEASE \ - -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ - -DPODOFO_HAVE_LUA=FALSE \ - -DPODOFO_BUILD_STATIC:BOOL=TRUE \ - -DPODOFO_BUILD_SHARED:BOOL=TRUE && - make -j1 && - make -j1 DESTDIR=$DESTDIR install + mkdir _build + cd _build + cmake .. \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_BUILD_TYPE=RELEASE \ + -D FREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ + -D PODOFO_HAVE_LUA=FALSE \ + -D PODOFO_BUILD_STATIC:BOOL=TRUE \ + -D PODOFO_BUILD_SHARED:BOOL=TRUE && + make && + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_folders bin + cook_copy_files *.so* }