summaryrefslogtreecommitdiff
blob: 0539b1b1c2919b8d01091aa888a0a97a61366ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Tom von Schwerdtner <tvon@etria.org>

A=libdbi-0.6.2.tar.gz
S=${WORKDIR}/libdbi-0.6.2
DESCRIPTION="libdbi implements a database-independent abstraction layer in C -- mysql plugin"
SRC_URI="http://prdownloads.sourceforge.net/libdbi/${A}"
HOMEPAGE="http://libdbi.sourceforge.net/"


DEPEND="virtual/glibc
	>=dev-db/mysql-3.23.26
	>=dev-libs/libdbi-0.6.2"

src_compile() {

	local myconf

	./configure --prefix=/usr --with-mysql || die  
	make || die
}

src_install() {

	cd plugins/mysql/
	make DESTDIR=${D} install || die
}