summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-03-28 01:09:25 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-03-28 01:09:25 +0000
commit496dbca96d6d05a14ce38a54364340f6801f91ec (patch)
tree47a6be6c7f83e898aac91088ecc707d0162c2714 /dev-db/libdbi
parentInitial import. Ebuild by me. (diff)
downloadhistorical-496dbca96d6d05a14ce38a54364340f6801f91ec.tar.gz
historical-496dbca96d6d05a14ce38a54364340f6801f91ec.tar.bz2
historical-496dbca96d6d05a14ce38a54364340f6801f91ec.zip
Add metadata, cleanup ebuild.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-db/libdbi')
-rw-r--r--dev-db/libdbi/Manifest4
-rw-r--r--dev-db/libdbi/files/digest-libdbi-0.7.2-r11
-rw-r--r--dev-db/libdbi/libdbi-0.7.2-r1.ebuild27
-rw-r--r--dev-db/libdbi/metadata.xml8
4 files changed, 38 insertions, 2 deletions
diff --git a/dev-db/libdbi/Manifest b/dev-db/libdbi/Manifest
index 858d91221547..16773ae79038 100644
--- a/dev-db/libdbi/Manifest
+++ b/dev-db/libdbi/Manifest
@@ -1,6 +1,6 @@
MD5 cebc11b2a1419b708a1af8deefe958ec libdbi-0.7.2.ebuild 806
-MD5 302de64fcd41292708669ce41bcb1bd5 libdbi-0.7.2-r1.ebuild 891
-MD5 e8dd5ead868634aaf06680cf4000883c ChangeLog 818
+MD5 98c3d3b46fa44322e911e524b5f3158c libdbi-0.7.2-r1.ebuild 895
+MD5 9e465c2110d7a4da6393b4ee83c1ec48 ChangeLog 819
MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
MD5 4134032b5381a34b9be39bb9bbd17ef8 files/digest-libdbi-0.7.2 64
MD5 4134032b5381a34b9be39bb9bbd17ef8 files/digest-libdbi-0.7.2-r1 64
diff --git a/dev-db/libdbi/files/digest-libdbi-0.7.2-r1 b/dev-db/libdbi/files/digest-libdbi-0.7.2-r1
new file mode 100644
index 000000000000..ae57420aa7eb
--- /dev/null
+++ b/dev-db/libdbi/files/digest-libdbi-0.7.2-r1
@@ -0,0 +1 @@
+MD5 308e5746a2d0804be1d638319ad7b9c0 libdbi-0.7.2.tar.gz 516197
diff --git a/dev-db/libdbi/libdbi-0.7.2-r1.ebuild b/dev-db/libdbi/libdbi-0.7.2-r1.ebuild
new file mode 100644
index 000000000000..071696cd0a08
--- /dev/null
+++ b/dev-db/libdbi/libdbi-0.7.2-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi/libdbi-0.7.2-r1.ebuild,v 1.1 2005/03/28 01:08:41 robbat2 Exp $
+
+DESCRIPTION="libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://${PN}.sourceforge.net/"
+LICENSE="LGPL-2.1"
+RDEPEND="virtual/libc"
+DEPEND=">=sys-apps/sed-4
+ ${RDEPEND}"
+PDEPEND="dev-db/libdbi-drivers"
+IUSE=""
+KEYWORDS="~x86 ~ppc ~amd64"
+SLOT=0
+
+src_compile() {
+ # should append CFLAGS, not replace them
+ sed -i.orig -e 's/^CFLAGS = /CFLAGS += /g' src/Makefile.in
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake install DESTDIR=${D} || die "make install failed"
+ dodoc AUTHORS ChangeLog COPYING README README.osx TODO
+}
diff --git a/dev-db/libdbi/metadata.xml b/dev-db/libdbi/metadata.xml
new file mode 100644
index 000000000000..5d9f5be9d49d
--- /dev/null
+++ b/dev-db/libdbi/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>