wok-6.x diff podofo/receipt @ rev 21756

logsurfer, mypaint: update url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 22 21:11:47 2019 +0200 (2019-06-22)
parents 36df580eeec3
children cd0c3ed3ab25
line diff
     1.1 --- a/podofo/receipt	Wed Feb 15 17:57:05 2017 +0100
     1.2 +++ b/podofo/receipt	Sat Jun 22 21:11:47 2019 +0200
     1.3 @@ -1,26 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="podofo"
     1.7 -VERSION="0.9.1"
     1.8 +VERSION="0.9.6"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="PDF library."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://sourceforge.net/projects/podofo/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://podofo.sourceforge.net/"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 -DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base libpng"
    1.19 -BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev \
    1.20 -libpng-dev"
    1.21 +
    1.22 +DEPENDS="fontconfig freetype gcc-lib-base jpeg libpng tiff zlib"
    1.23 +BUILD_DEPENDS="cmake fontconfig-dev freetype-dev jpeg-dev \
    1.24 +	libpng-dev tiff-dev zlib-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \
    1.30 -	      -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
    1.31 -	      -DPODOFO_HAVE_LUA=FALSE \
    1.32 -	      -DPODOFO_BUILD_STATIC:BOOL=TRUE \
    1.33 -	      -DPODOFO_BUILD_SHARED:BOOL=TRUE . &&
    1.34 +	cmake	.						\
    1.35 +		-DCMAKE_INSTALL_PREFIX=/usr			\
    1.36 +		-DCMAKE_BUILD_TYPE=RELEASE			\
    1.37 +		-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2	\
    1.38 +		-DPODOFO_HAVE_LUA=FALSE				\
    1.39 +		-DPODOFO_BUILD_STATIC:BOOL=TRUE			\
    1.40 +		-DPODOFO_BUILD_SHARED:BOOL=TRUE &&
    1.41  	make &&
    1.42  	make DESTDIR=$DESTDIR install
    1.43  }
    1.44 @@ -29,6 +33,7 @@
    1.45  genpkg_rules()
    1.46  {
    1.47  	mkdir -p $fs/usr/lib
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.50 +
    1.51 +	cp -a $install/usr/bin		$fs/usr
    1.52 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.53  }