wok annotate podofo/receipt @ rev 21655
updated p11-kit and p11-kit-dev (0.23.12 -> 0.23.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 31 15:09:23 2019 +0100 (2019-05-31) |
parents | 63cbc306c335 |
children | 71d5f5cce188 |
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@18965 | 20 -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ |
pascal@19712 | 21 -DPODOFO_HAVE_LUA=FALSE \ |
pascal@9111 | 22 -DPODOFO_BUILD_STATIC:BOOL=TRUE \ |
pascal@3902 | 23 -DPODOFO_BUILD_SHARED:BOOL=TRUE . && |
pascal@3902 | 24 make && |
pascal@15000 | 25 make DESTDIR=$DESTDIR install |
pascal@3902 | 26 } |
pascal@3902 | 27 |
pascal@3902 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3902 | 29 genpkg_rules() |
pascal@3902 | 30 { |
pascal@3902 | 31 mkdir -p $fs/usr/lib |
pascal@15000 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@3902 | 34 } |