summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-07-01 19:23:55 +0000
committerAchim Gottinger <achim@gentoo.org>2001-07-01 19:23:55 +0000
commit5edc49c1fa1add5db1e38d64e03b4ef01dd580c2 (patch)
treec884647a5dce7a963835263ee96260f35cb1d550 /media-libs/pdflib
parent*** empty log message *** (diff)
downloadhistorical-5edc49c1fa1add5db1e38d64e03b4ef01dd580c2.tar.gz
historical-5edc49c1fa1add5db1e38d64e03b4ef01dd580c2.tar.bz2
historical-5edc49c1fa1add5db1e38d64e03b4ef01dd580c2.zip
New unfinished package
Diffstat (limited to 'media-libs/pdflib')
-rw-r--r--media-libs/pdflib/files/digest-pdflib-4.0.11
-rw-r--r--media-libs/pdflib/pdflib-4.0.1.ebuild45
2 files changed, 46 insertions, 0 deletions
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 <g2boojum@hotmail.com>
+# /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
+
+}
+