# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils IUSE="" DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format." LONG_DESCRIPTION="It includes classes to parse a PDF file, modify its contents in memory, write the changes back to disk, and create new PDF files." HOMEPAGE="http://sourceforge.net/projects/podofo/" SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~x86 ~amd64 ppc ~sparc" DEPEND=">=media-libs/jpeg-6b >=media-libs/fontconfig-2.2 >=media-libs/freetype-2.1 >=sys-libs/zlib-1.2" src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die 'install failed' dodoc AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README TODO }