wok annotate podofo/receipt @ rev 22299
updated xorg-xrdb (1.0.9 -> 1.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 16:58:12 2019 +0100 (2019-11-13) |
parents | 36df580eeec3 |
children | cd0c3ed3ab25 |
rev | line source |
---|---|
pascal@3902 | 1 # SliTaz package receipt. |
pascal@3902 | 2 |
pascal@3902 | 3 PACKAGE="podofo" |
Hans-G?nter@21691 | 4 VERSION="0.9.6" |
pascal@3902 | 5 CATEGORY="office" |
pascal@3902 | 6 SHORT_DESC="PDF library." |
pascal@3902 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@21691 | 9 WEB_SITE="https://sourceforge.net/projects/podofo/" |
Hans-G?nter@21691 | 10 |
pascal@3902 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3902 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21691 | 13 |
Hans-G?nter@21691 | 14 DEPENDS="fontconfig freetype gcc-lib-base jpeg libpng tiff zlib" |
Hans-G?nter@21691 | 15 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev jpeg-dev \ |
Hans-G?nter@21691 | 16 libpng-dev tiff-dev zlib-dev" |
pascal@3902 | 17 |
pascal@3902 | 18 # Rules to configure and make the package. |
pascal@3902 | 19 compile_rules() |
pascal@3902 | 20 { |
Hans-G?nter@21691 | 21 cmake . \ |
Hans-G?nter@21691 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21691 | 23 -DCMAKE_BUILD_TYPE=RELEASE \ |
Hans-G?nter@21691 | 24 -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ |
Hans-G?nter@21691 | 25 -DPODOFO_HAVE_LUA=FALSE \ |
Hans-G?nter@21691 | 26 -DPODOFO_BUILD_STATIC:BOOL=TRUE \ |
Hans-G?nter@21691 | 27 -DPODOFO_BUILD_SHARED:BOOL=TRUE && |
pascal@3902 | 28 make && |
pascal@15000 | 29 make DESTDIR=$DESTDIR install |
pascal@3902 | 30 } |
pascal@3902 | 31 |
pascal@3902 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3902 | 33 genpkg_rules() |
pascal@3902 | 34 { |
pascal@3902 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@21691 | 36 |
Hans-G?nter@21691 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21691 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@3902 | 39 } |