wok diff podofo/receipt @ rev 25017

updated openjpeg, openjpeg-dev and openjpeg-tools (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 06:55:41 2022 +0100 (2022-05-18)
parents 4bae0fb81a17
children ad0bc3efbf37
line diff
     1.1 --- a/podofo/receipt	Fri Jul 09 18:20:09 2021 +0000
     1.2 +++ b/podofo/receipt	Wed May 18 06:55:41 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="podofo"
     1.7 -VERSION="0.9.6"
     1.8 +VERSION="0.9.7"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="PDF library."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -26,22 +26,22 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cmake	.						\
    1.17 -		-DCMAKE_INSTALL_PREFIX=/usr			\
    1.18 -		-DCMAKE_BUILD_TYPE=RELEASE			\
    1.19 -		-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2	\
    1.20 -		-DPODOFO_HAVE_LUA=FALSE				\
    1.21 -		-DPODOFO_BUILD_STATIC:BOOL=TRUE			\
    1.22 -		-DPODOFO_BUILD_SHARED:BOOL=TRUE &&
    1.23 -	make -j1 &&
    1.24 -	make -j1 DESTDIR=$DESTDIR install
    1.25 +	mkdir	_build
    1.26 +	cd	_build
    1.27 +	cmake	..						\
    1.28 +		-D CMAKE_INSTALL_PREFIX=/usr			\
    1.29 +		-D CMAKE_BUILD_TYPE=RELEASE			\
    1.30 +		-D FREETYPE_INCLUDE_DIR=/usr/include/freetype2	\
    1.31 +		-D PODOFO_HAVE_LUA=FALSE			\
    1.32 +		-D PODOFO_BUILD_STATIC:BOOL=TRUE		\
    1.33 +		-D PODOFO_BUILD_SHARED:BOOL=TRUE &&
    1.34 +	make &&
    1.35 +	make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr/lib
    1.42 -
    1.43 -	cp -a $install/usr/bin		$fs/usr
    1.44 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.45 +	cook_copy_folders	bin
    1.46 +	cook_copy_files		*.so*
    1.47  }