wok rev 21691

updated podofo and podofo-dev (0.9.1 -> 0.9.6)
author Hans-G?nter Theisgen
date Mon Jun 03 17:39:09 2019 +0100 (4 months ago)
parents befd7b264752
children 3b3749beba6d
files podofo-dev/receipt podofo/receipt
line diff
     1.1 --- a/podofo-dev/receipt	Mon Jun 03 17:17:45 2019 +0100
     1.2 +++ b/podofo-dev/receipt	Mon Jun 03 17:39:09 2019 +0100
     1.3 @@ -1,21 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="podofo-dev"
     1.7 -VERSION="0.9.1"
     1.8 +VERSION="0.9.6"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="PDF library development files."
    1.11 +SHORT_DESC="PDF library - development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://podofo.sourceforge.net/"
    1.15 -WANTED="podofo"
    1.16 +WEB_SITE="https://sourceforge.net/projects/podofo/"
    1.17  
    1.18  DEPENDS="podofo"
    1.19 +WANTED="podofo"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.27 +
    1.28 +	cp -a $install/usr/include	$fs/usr
    1.29 +	cp -a $install/usr/lib/*a	$fs/usr/lib
    1.30  }
    1.31 -
     2.1 --- a/podofo/receipt	Mon Jun 03 17:17:45 2019 +0100
     2.2 +++ b/podofo/receipt	Mon Jun 03 17:39:09 2019 +0100
     2.3 @@ -1,26 +1,30 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="podofo"
     2.7 -VERSION="0.9.1"
     2.8 +VERSION="0.9.6"
     2.9  CATEGORY="office"
    2.10  SHORT_DESC="PDF library."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="https://sourceforge.net/projects/podofo/"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WEB_SITE="http://podofo.sourceforge.net/"
    2.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.18 -DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base libpng"
    2.19 -BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev \
    2.20 -libpng-dev"
    2.21 +
    2.22 +DEPENDS="fontconfig freetype gcc-lib-base jpeg libpng tiff zlib"
    2.23 +BUILD_DEPENDS="cmake fontconfig-dev freetype-dev jpeg-dev \
    2.24 +	libpng-dev tiff-dev zlib-dev"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \
    2.30 -	      -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
    2.31 -	      -DPODOFO_HAVE_LUA=FALSE \
    2.32 -	      -DPODOFO_BUILD_STATIC:BOOL=TRUE \
    2.33 -	      -DPODOFO_BUILD_SHARED:BOOL=TRUE . &&
    2.34 +	cmake	.						\
    2.35 +		-DCMAKE_INSTALL_PREFIX=/usr			\
    2.36 +		-DCMAKE_BUILD_TYPE=RELEASE			\
    2.37 +		-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2	\
    2.38 +		-DPODOFO_HAVE_LUA=FALSE				\
    2.39 +		-DPODOFO_BUILD_STATIC:BOOL=TRUE			\
    2.40 +		-DPODOFO_BUILD_SHARED:BOOL=TRUE &&
    2.41  	make &&
    2.42  	make DESTDIR=$DESTDIR install
    2.43  }
    2.44 @@ -29,6 +33,7 @@
    2.45  genpkg_rules()
    2.46  {
    2.47  	mkdir -p $fs/usr/lib
    2.48 -	cp -a $install/usr/bin $fs/usr
    2.49 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.50 +
    2.51 +	cp -a $install/usr/bin		$fs/usr
    2.52 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.53  }