wok-current annotate podofo/receipt @ rev 8269

Up: mplayer to 1.0rc4. Up: mplayer-skins to 1.0rc4.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 30 01:21:47 2011 +0000 (2011-01-30)
parents b61a8e9b1027
children 1364c20799ac
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@5005 11 DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base"
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