summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-08-07 03:59:34 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-08-07 03:59:34 +0000
commit62f1471e381bcde77072e5e102f0a3b11530e3de (patch)
tree1b009e54c63b9cc2f36d659bd6f601fed9b70cb1 /media-libs/clibpdf
parentadd new license for media-libs/clibpdf. (diff)
downloadgentoo-2-62f1471e381bcde77072e5e102f0a3b11530e3de.tar.gz
gentoo-2-62f1471e381bcde77072e5e102f0a3b11530e3de.tar.bz2
gentoo-2-62f1471e381bcde77072e5e102f0a3b11530e3de.zip
Initial ebuild, by Robin Hugh Johnson <robbat2@gentoo.org>. License is for non-commercial use only!.
Diffstat (limited to 'media-libs/clibpdf')
-rw-r--r--media-libs/clibpdf/ChangeLog10
-rw-r--r--media-libs/clibpdf/Manifest2
-rw-r--r--media-libs/clibpdf/clibpdf-202_p1.ebuild39
-rw-r--r--media-libs/clibpdf/files/digest-clibpdf-202_p12
4 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/clibpdf/ChangeLog b/media-libs/clibpdf/ChangeLog
new file mode 100644
index 000000000000..cd56b9cefd77
--- /dev/null
+++ b/media-libs/clibpdf/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/clibpdf
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/clibpdf/ChangeLog,v 1.1 2004/08/07 03:59:34 robbat2 Exp $
+
+*clibpdf-202_p1 (06 Aug 2004)
+
+ 06 Aug 2004; Robin H. Johnson <robbat2@gentoo.org> +clibpdf-202_p1.ebuild:
+ Initial ebuild, by Robin Hugh Johnson <robbat2@gentoo.org>. License is for
+ non-commercial use only!.
+
diff --git a/media-libs/clibpdf/Manifest b/media-libs/clibpdf/Manifest
new file mode 100644
index 000000000000..031960335a3b
--- /dev/null
+++ b/media-libs/clibpdf/Manifest
@@ -0,0 +1,2 @@
+MD5 acfd0205d509e44b0775abe718b3e557 clibpdf-202_p1.ebuild 962
+MD5 c1e0530df286cd5f47e05eb2144d7a15 files/digest-clibpdf-202_p1 138
diff --git a/media-libs/clibpdf/clibpdf-202_p1.ebuild b/media-libs/clibpdf/clibpdf-202_p1.ebuild
new file mode 100644
index 000000000000..bb9a58e2d19e
--- /dev/null
+++ b/media-libs/clibpdf/clibpdf-202_p1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/clibpdf/clibpdf-202_p1.ebuild,v 1.1 2004/08/07 03:59:34 robbat2 Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="ANSI C Library for Direct PDF Generation"
+HOMEPAGE="http://www.fastio.com/"
+SRC_URI_FN="clibpdf${PV/_p/r}.tar.gz"
+SRC_URI="http://www.fastio.com/${SRC_URI_FN}
+ mirror://gentoo/${P}-buildfix.patch.gz
+ http://dev.gentoo.org/~robbat2/distfiles/${P}-buildfix.patch.gz"
+LICENSE="clibpdf"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/libc sys-devel/gcc"
+MY_PN="ClibPDF"
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${SRC_URI_FN}
+ epatch ${DISTDIR}/${P}-buildfix.patch.gz
+}
+
+src_compile() {
+ append-flags -Wall -DLinux
+ cd ${S}/source
+ emake -f Makefile.Linux lib shlib || die "emake failed"
+}
+
+src_install() {
+ dodoc ${S}/doc/* ${S}/LICENSE.pdf
+ insinto /usr/share/${PN}/fonts
+ doins ${S}/fonts/*
+ dodir /usr/lib /usr/include
+ cd ${S}/source
+ make -f Makefile.Linux LIB_DIR="${D}/usr/lib" INCLUDE_DIR="${D}/usr/include" install shinstall
+}
diff --git a/media-libs/clibpdf/files/digest-clibpdf-202_p1 b/media-libs/clibpdf/files/digest-clibpdf-202_p1
new file mode 100644
index 000000000000..d66c585ac506
--- /dev/null
+++ b/media-libs/clibpdf/files/digest-clibpdf-202_p1
@@ -0,0 +1,2 @@
+MD5 840d78e187ab46fc5700caba9fbb33e5 clibpdf202r1.tar.gz 856692
+MD5 b2a3b6a54f6c4cf67be0e39d474fa9f9 clibpdf-202_p1-buildfix.patch.gz 456