wok-current annotate podofo/receipt @ rev 23078
updated libjreen and libjreen-dev (1.1.1 -> 1.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 10 15:00:59 2020 +0100 (2020-03-10) |
parents | cd0c3ed3ab25 |
children | 4bae0fb81a17 |
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@22354 | 14 DEPENDS="fontconfig freetype gcc-lib-base jpeg libcrypto libpng |
Hans-G?nter@22354 | 15 tiff zlib" |
Hans-G?nter@21691 | 16 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev jpeg-dev \ |
Hans-G?nter@22354 | 17 libcrypto-dev libpng-dev tiff-dev zlib-dev" |
pascal@3902 | 18 |
pascal@3902 | 19 # Rules to configure and make the package. |
pascal@3902 | 20 compile_rules() |
pascal@3902 | 21 { |
Hans-G?nter@21691 | 22 cmake . \ |
Hans-G?nter@21691 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21691 | 24 -DCMAKE_BUILD_TYPE=RELEASE \ |
Hans-G?nter@21691 | 25 -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ |
Hans-G?nter@21691 | 26 -DPODOFO_HAVE_LUA=FALSE \ |
Hans-G?nter@21691 | 27 -DPODOFO_BUILD_STATIC:BOOL=TRUE \ |
Hans-G?nter@21691 | 28 -DPODOFO_BUILD_SHARED:BOOL=TRUE && |
Hans-G?nter@22353 | 29 make -j1 && |
Hans-G?nter@22353 | 30 make -j1 DESTDIR=$DESTDIR install |
pascal@3902 | 31 } |
pascal@3902 | 32 |
pascal@3902 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3902 | 34 genpkg_rules() |
pascal@3902 | 35 { |
pascal@3902 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@21691 | 37 |
Hans-G?nter@21691 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21691 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@3902 | 40 } |