summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/tcpdf')
-rw-r--r--dev-php/tcpdf/ChangeLog10
-rw-r--r--dev-php/tcpdf/metadata.xml5
-rw-r--r--dev-php/tcpdf/tcpdf-5.9.149.ebuild32
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-php/tcpdf/ChangeLog b/dev-php/tcpdf/ChangeLog
new file mode 100644
index 000000000000..3ddfdc1f1054
--- /dev/null
+++ b/dev-php/tcpdf/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-php/tcpdf
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/tcpdf/ChangeLog,v 1.1 2012/03/10 11:07:38 mabi Exp $
+
+*tcpdf-5.9.149 (10 Mar 2012)
+
+ 10 Mar 2012; Matti Bickel <mabi@gentoo.org> +metadata.xml,
+ +tcpdf-5.9.149.ebuild:
+ initial commit (based on ebuild by Francisco Javier, bug #223953)
+
diff --git a/dev-php/tcpdf/metadata.xml b/dev-php/tcpdf/metadata.xml
new file mode 100644
index 000000000000..40dbb4c4bbaf
--- /dev/null
+++ b/dev-php/tcpdf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>php</herd>
+</pkgmetadata>
diff --git a/dev-php/tcpdf/tcpdf-5.9.149.ebuild b/dev-php/tcpdf/tcpdf-5.9.149.ebuild
new file mode 100644
index 000000000000..2f6b02850fdc
--- /dev/null
+++ b/dev-php/tcpdf/tcpdf-5.9.149.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/tcpdf/tcpdf-5.9.149.ebuild,v 1.1 2012/03/10 11:07:38 mabi Exp $
+
+EAPI=4
+
+KEYWORDS="~amd64 ~x86"
+
+MY_P=${PN}_${PV//./_}
+
+DESCRIPTION="TCPDF is a FLOSS PHP class for generating PDF documents."
+HOMEPAGE="http://www.tcpdf.org/"
+SRC_URI="mirror://sourceforge/tcpdf/${MY_P}.zip"
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="examples"
+
+DEPEND="dev-lang/php"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ insinto "/usr/share/php/${PN}"
+ doins *.php tcpdf.*
+ doins -r config images fonts cache
+
+ dodoc CHANGELOG.TXT README.TXT
+
+ dohtml -r doc/*
+ use examples && dodoc -r examples
+}