# HG changeset patch # User Pascal Bellard # Date 1250332986 -7200 # Node ID b61a8e9b10274b4bf0b539059e9dc6e35ca5bf75 # Parent 75d213eeefb6b01ac2605d897000cfb65bb1a0fb Add podofo diff -r 75d213eeefb6 -r b61a8e9b1027 podofo-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/podofo-dev/receipt Sat Aug 15 12:43:06 2009 +0200 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="podofo-dev" +VERSION="0.7.0" +CATEGORY="development" +SHORT_DESC="PDF library development files." +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://podofo.sourceforge.net/" +WANTED="podofo" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*a $fs/usr/lib +} + diff -r 75d213eeefb6 -r b61a8e9b1027 podofo/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/podofo/receipt Sat Aug 15 12:43:06 2009 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="podofo" +VERSION="0.7.0" +CATEGORY="office" +SHORT_DESC="PDF library." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://podofo.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +DEPENDS="fontconfig freetype zlib jpeg tiff" +BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \ + -DPODOFO_BUILD_SHARED:BOOL=TRUE . && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +