From 5edc49c1fa1add5db1e38d64e03b4ef01dd580c2 Mon Sep 17 00:00:00 2001 From: Achim Gottinger Date: Sun, 1 Jul 2001 19:23:55 +0000 Subject: New unfinished package --- media-libs/pdflib/files/digest-pdflib-4.0.1 | 1 + media-libs/pdflib/pdflib-4.0.1.ebuild | 45 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 media-libs/pdflib/files/digest-pdflib-4.0.1 create mode 100644 media-libs/pdflib/pdflib-4.0.1.ebuild (limited to 'media-libs/pdflib') diff --git a/media-libs/pdflib/files/digest-pdflib-4.0.1 b/media-libs/pdflib/files/digest-pdflib-4.0.1 new file mode 100644 index 000000000000..8c334dd5ecf9 --- /dev/null +++ b/media-libs/pdflib/files/digest-pdflib-4.0.1 @@ -0,0 +1 @@ +MD5 92cb24075945c2151b7524bc7e8ef8c3 pdflib-4.0.1.tar.gz diff --git a/media-libs/pdflib/pdflib-4.0.1.ebuild b/media-libs/pdflib/pdflib-4.0.1.ebuild new file mode 100644 index 000000000000..c0bbfcdc7450 --- /dev/null +++ b/media-libs/pdflib/pdflib-4.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Grant Goodyear +# /home/cvsroot/gentoo-x86/skel.build,v 1.2 2001/02/15 18:17:31 achim Exp + +#P= +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="A library for generating PDF on the fly" +SRC_URI="http://www.pdflib.com/pdflib/download/${A}" +HOMEPAGE="http://www.pdflib.com" + +DEPEND="tcltk? ( >=dev-lang/tcl-tk-8.2 ) + perl? ( >=sys-devel/perl-5.1 ) + python? ( >=dev-lang/python-2.0 ) + java? ( >=dev-lang/jdk-1.3 )" + +src_compile() { + local myconf + if [ -z "`use tcltk`" ] ; then + myconf="--with-tcl=no" + fi + if [ -z "`use perl`" ] ; then + myconf="$myconf --with-perl=no" + fi + if [ -z "`use python`" ] ; then + myconf="$myconf --with-py=no" + fi + if [ "`use java`" ] ; then + myconf="$myconf --with-java=/opt/java" + else + myconf="$myconf --with-java=no" + fi + try ./configure --prefix=/usr --host=${CHOST} \ + --enable-cxx --disable-php $myconf + try make + +} + +src_install () { + + try make prefix=${D}/usr install + +} + -- cgit v1.2.3-65-gdbad