wok-current annotate podofo/receipt @ rev 15000
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:00:38 2013 +0000 (2013-08-10) |
parents | e00bd32be155 |
children | 9f7eed078218 |
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@5005 | 12 DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base" |
pascal@3902 | 13 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev" |
pascal@3902 | 14 |
pascal@3902 | 15 # Rules to configure and make the package. |
pascal@3902 | 16 compile_rules() |
pascal@3902 | 17 { |
pascal@3902 | 18 cd $src |
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 |