wok-next rev 21408
updated podofo (0.9.1 -> 0.9.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 24 17:36:53 2020 +0100 (2020-04-24) |
parents | 12227c6f198a |
children | c2763f7c58b6 |
files | podofo/receipt |
line diff
1.1 --- a/podofo/receipt Fri Apr 24 17:21:13 2020 +0100 1.2 +++ b/podofo/receipt Fri Apr 24 17:36:53 2020 +0100 1.3 @@ -1,46 +1,48 @@ 1.4 # SliTaz package receipt v2. 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="devel@slitaz.org" 1.12 +MAINTAINER="maintainer@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -WEB_SITE="http://podofo.sourceforge.net/" 1.15 +WEB_SITE="https://sourceforge.net/projects/podofo/" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 1.20 -BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev \ 1.21 -libpng-dev" 1.22 +BUILD_DEPENDS="cmake fontconfig-dev freetype-dev jpeg-dev libpng-dev 1.23 + tiff-dev zlib-dev" 1.24 SPLIT="$PACKAGE-dev" 1.25 1.26 -compile_rules() { 1.27 +compile_rules() 1.28 +{ 1.29 mkdir build 1.30 cd build 1.31 - cmake \ 1.32 - -DCMAKE_INSTALL_PREFIX=/usr \ 1.33 - -DCMAKE_BUILD_TYPE=RELEASE \ 1.34 - -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ 1.35 - -DPODOFO_BUILD_STATIC:BOOL=TRUE \ 1.36 - -DPODOFO_BUILD_SHARED:BOOL=TRUE \ 1.37 - .. && 1.38 + cmake .. \ 1.39 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.40 + -DCMAKE_BUILD_TYPE=RELEASE \ 1.41 + -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ 1.42 + -DPODOFO_BUILD_STATIC:BOOL=TRUE \ 1.43 + -DPODOFO_BUILD_SHARED:BOOL=TRUE && 1.44 make && 1.45 make DESTDIR=$install install 1.46 } 1.47 1.48 -genpkg_rules() { 1.49 +genpkg_rules() 1.50 +{ 1.51 case $PACKAGE in 1.52 podofo) 1.53 mkdir -p $fs/usr/lib 1.54 - cp -a $install/usr/bin $fs/usr 1.55 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.56 - DEPENDS="fontconfig freetype zlib jpeg libtiff gcc-lib-base libpng" 1.57 + cp -a $install/usr/bin $fs/usr 1.58 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.59 + 1.60 + DEPENDS="fontconfig freetype gcc-lib-base jpeg libpng libtiff zlib" 1.61 ;; 1.62 *-dev) 1.63 mkdir -p $fs/usr/lib 1.64 - cp -a $install/usr/include $fs/usr 1.65 - cp -a $install/usr/lib/*a $fs/usr/lib 1.66 + cp -a $install/usr/include $fs/usr 1.67 + cp -a $install/usr/lib/*a $fs/usr/lib 1.68 ;; 1.69 esac 1.70 }