summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/adodb/adodb-5.02.ebuild')
-rw-r--r--dev-php/adodb/adodb-5.02.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-php/adodb/adodb-5.02.ebuild b/dev-php/adodb/adodb-5.02.ebuild
new file mode 100644
index 000000000000..8572161e0aa9
--- /dev/null
+++ b/dev-php/adodb/adodb-5.02.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/adodb/adodb-5.02.ebuild,v 1.1 2007/09/28 17:49:59 pva Exp $
+
+inherit php-lib-r1 versionator
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+DESCRIPTION="Active Data Objects Data Base library for PHP."
+HOMEPAGE="http://adodb.sourceforge.net/"
+
+MY_PV=$(delete_all_version_separators "${PV}" )
+SRC_URI="mirror://sourceforge/adodb/${PN}${MY_PV}.tgz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S=${WORKDIR}/${PN}$(get_major_version)
+
+need_php5
+
+pkg_setup() {
+ ewarn "ADODB requires some form of SQL or ODBC support in your PHP."
+}
+
+src_install() {
+ # install php files
+ php-lib-r1_src_install . `find . -name '*.php' -print`
+
+ # install xsl files
+ php-lib-r1_src_install . xsl/*.xsl
+
+ # install documentation
+ dohtml docs/*.htm
+ dodoc *.txt xmlschema.dtd session/adodb-sess.txt pear/readme.Auth.txt
+}