wok-next annotate podofo/receipt @ rev 16606

podofo: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 08 07:51:29 2014 +0000 (2014-05-08)
parents 380ffe05937a
children 63cbc306c335
rev   line source
pascal@3902 1 # SliTaz package receipt.
pascal@3902 2
pascal@3902 3 PACKAGE="podofo"
slaxemulator@10188 4 VERSION="0.9.1"
pascal@3902 5 CATEGORY="office"
pascal@3902 6 SHORT_DESC="PDF library."
pascal@3902 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@3902 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@3902 10 WEB_SITE="http://podofo.sourceforge.net/"
pascal@3902 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@16606 12 DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base libpng"
pascal@16606 13 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev \
pascal@16606 14 libpng-dev"
pascal@3902 15
pascal@3902 16 # Rules to configure and make the package.
pascal@3902 17 compile_rules()
pascal@3902 18 {
pascal@3902 19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \
pascal@9111 20 -DPODOFO_BUILD_STATIC:BOOL=TRUE \
pascal@3902 21 -DPODOFO_BUILD_SHARED:BOOL=TRUE . &&
pascal@3902 22 make &&
pascal@15000 23 make DESTDIR=$DESTDIR install
pascal@3902 24 }
pascal@3902 25
pascal@3902 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3902 27 genpkg_rules()
pascal@3902 28 {
pascal@3902 29 mkdir -p $fs/usr/lib
pascal@15000 30 cp -a $install/usr/bin $fs/usr
pascal@15000 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@3902 32 }
pascal@3902 33