You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-db/libdbi/libdbi-0.8.1.ebuild

33 lines
931 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi/libdbi-0.8.1.ebuild,v 1.9 2012/04/25 16:21:15 jlec 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://libdbi.sourceforge.net/"
LICENSE="LGPL-2.1"
RDEPEND=""
DEPEND=">=sys-apps/sed-4
${RDEPEND}"
PDEPEND=">=dev-db/libdbi-drivers-0.8.0"
IUSE=""
KEYWORDS="amd64 hppa ppc sparc x86"
SLOT=0
src_unpack() {
unpack ${A}
chown -R portage:portage "${S}"
}
src_compile() {
# should append CFLAGS, not replace them
sed -i.orig -e 's/^CFLAGS = /CFLAGS += /g' src/Makefile.in
econf
emake || die "emake failed"
}
src_install () {
emake install DESTDIR="${D}" || die "emake install failed"
dodoc AUTHORS ChangeLog README README.osx TODO
}