wok-6.x annotate podofo/receipt @ rev 4283
neon: use gnutls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 10:58:56 2009 +0200 (2009-09-26) |
parents | |
children | f3327707164a |
rev | line source |
---|---|
pascal@3902 | 1 # SliTaz package receipt. |
pascal@3902 | 2 |
pascal@3902 | 3 PACKAGE="podofo" |
pascal@3902 | 4 VERSION="0.7.0" |
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@3902 | 11 DEPENDS="fontconfig freetype zlib jpeg tiff" |
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@3902 | 19 -DPODOFO_BUILD_SHARED:BOOL=TRUE . && |
pascal@3902 | 20 make && |
pascal@3902 | 21 make DESTDIR=$PWD/_pkg install |
pascal@3902 | 22 } |
pascal@3902 | 23 |
pascal@3902 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3902 | 25 genpkg_rules() |
pascal@3902 | 26 { |
pascal@3902 | 27 mkdir -p $fs/usr/lib |
pascal@3902 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@3902 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@3902 | 30 } |
pascal@3902 | 31 |