wok-6.x rev 24275

updated podofo and podofo-dev (0.9.6 -> 0.9.7)
author Hans-G?nter Theisgen
date Mon Jan 03 10:32:43 2022 +0100 (2022-01-03)
parents e353df107302
children 67e02e438fee
files podofo-dev/receipt podofo/description.txt podofo/receipt
line diff
     1.1 --- a/podofo-dev/receipt	Sun Jan 02 17:17:07 2022 +0100
     1.2 +++ b/podofo-dev/receipt	Mon Jan 03 10:32:43 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="podofo-dev"
     1.7 -VERSION="0.9.6"
     1.8 +VERSION="0.9.7"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="PDF library - development files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -14,8 +14,6 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib
    1.17 -
    1.18 -	cp -a $install/usr/include	$fs/usr
    1.19 -	cp -a $install/usr/lib/*a	$fs/usr/lib
    1.20 +	cook_copy_folders	include
    1.21 +	cook_copy_files		*.*a
    1.22  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/podofo/description.txt	Mon Jan 03 10:32:43 2022 +0100
     2.3 @@ -0,0 +1,6 @@
     2.4 +The PoDoFo library is a free, portable C++ library.
     2.5 +It can parse and modify existing PDF files and create new ones from scratch.
     2.6 +It also includes several tools to work with PDF files.
     2.7 +It features an unique approach which provides access to PDF documents via an
     2.8 +object tree. Therefore, PDFs can be created and or manipulated using a simple
     2.9 +tree structure.
     3.1 --- a/podofo/receipt	Sun Jan 02 17:17:07 2022 +0100
     3.2 +++ b/podofo/receipt	Mon Jan 03 10:32:43 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="podofo"
     3.7 -VERSION="0.9.6"
     3.8 +VERSION="0.9.7"
     3.9  CATEGORY="office"
    3.10  SHORT_DESC="PDF library."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12 @@ -26,22 +26,22 @@
    3.13  # Rules to configure and make the package.
    3.14  compile_rules()
    3.15  {
    3.16 -	cmake	.						\
    3.17 -		-DCMAKE_INSTALL_PREFIX=/usr			\
    3.18 -		-DCMAKE_BUILD_TYPE=RELEASE			\
    3.19 -		-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2	\
    3.20 -		-DPODOFO_HAVE_LUA=FALSE				\
    3.21 -		-DPODOFO_BUILD_STATIC:BOOL=TRUE			\
    3.22 -		-DPODOFO_BUILD_SHARED:BOOL=TRUE &&
    3.23 -	make -j1 &&
    3.24 -	make -j1 DESTDIR=$DESTDIR install
    3.25 +	mkdir	_build
    3.26 +	cd	_build
    3.27 +	cmake	..						\
    3.28 +		-D CMAKE_INSTALL_PREFIX=/usr			\
    3.29 +		-D CMAKE_BUILD_TYPE=RELEASE			\
    3.30 +		-D FREETYPE_INCLUDE_DIR=/usr/include/freetype2	\
    3.31 +		-D PODOFO_HAVE_LUA=FALSE			\
    3.32 +		-D PODOFO_BUILD_STATIC:BOOL=TRUE		\
    3.33 +		-D PODOFO_BUILD_SHARED:BOOL=TRUE &&
    3.34 +	make &&
    3.35 +	make DESTDIR=$DESTDIR install
    3.36  }
    3.37  
    3.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.39  genpkg_rules()
    3.40  {
    3.41 -	mkdir -p $fs/usr/lib
    3.42 -
    3.43 -	cp -a $install/usr/bin		$fs/usr
    3.44 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.45 +	cook_copy_folders	bin
    3.46 +	cook_copy_files		*.so*
    3.47  }