wok-stable annotate podofo/receipt @ rev 10518
nfs-utils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 16:10:05 2011 +0200 (2011-05-25) |
parents | 1364c20799ac |
children |
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@3902 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3902 | 9 WEB_SITE="http://podofo.sourceforge.net/" |
pascal@3902 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@5005 | 11 DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base" |
pascal@3902 | 12 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev" |
pascal@3902 | 13 |
pascal@3902 | 14 # Rules to configure and make the package. |
pascal@3902 | 15 compile_rules() |
pascal@3902 | 16 { |
pascal@3902 | 17 cd $src |
pascal@3902 | 18 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \ |
pascal@9111 | 19 -DPODOFO_BUILD_STATIC:BOOL=TRUE \ |
pascal@3902 | 20 -DPODOFO_BUILD_SHARED:BOOL=TRUE . && |
pascal@3902 | 21 make && |
pascal@3902 | 22 make DESTDIR=$PWD/_pkg install |
pascal@3902 | 23 } |
pascal@3902 | 24 |
pascal@3902 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3902 | 26 genpkg_rules() |
pascal@3902 | 27 { |
pascal@3902 | 28 mkdir -p $fs/usr/lib |
pascal@3902 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@3902 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@3902 | 31 } |
pascal@3902 | 32 |