diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2004-02-14 00:22:27 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2004-02-14 00:22:27 +0000 |
commit | 4d5660da2cbeac8a39fc21b8535ec23705d38510 (patch) | |
tree | 9066cb052846f41569c2ba3cdbbca6426dbe1c2f /dev-db/metakit/metakit-2.4.9.3-r2.ebuild | |
parent | (no commit message) (diff) | |
download | historical-4d5660da2cbeac8a39fc21b8535ec23705d38510.tar.gz historical-4d5660da2cbeac8a39fc21b8535ec23705d38510.tar.bz2 historical-4d5660da2cbeac8a39fc21b8535ec23705d38510.zip |
Fix broken include path.
Diffstat (limited to 'dev-db/metakit/metakit-2.4.9.3-r2.ebuild')
-rw-r--r-- | dev-db/metakit/metakit-2.4.9.3-r2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-db/metakit/metakit-2.4.9.3-r2.ebuild b/dev-db/metakit/metakit-2.4.9.3-r2.ebuild new file mode 100644 index 000000000000..ecfd3da74281 --- /dev/null +++ b/dev-db/metakit/metakit-2.4.9.3-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/metakit-2.4.9.3-r2.ebuild,v 1.1 2004/02/14 00:22:25 kloeri Exp $ + +inherit python + +DESCRIPTION="Embedded database library" +HOMEPAGE="http://www.equi4.com/metakit/" +SRC_URI="http://www.equi4.com/pub/mk/${P}.tar.gz" + +LICENSE="MetaKit" +SLOT="0" +KEYWORDS="~x86" +IUSE="python tcltk" + +DEPEND=">=sys-apps/sed-4 + python? ( >=dev-lang/python-2.2.1 ) + tcltk? ( >=dev-lang/tcl-8.3.3-r2 )" + +src_unpack() { + unpack ${A} ; cd ${S} + sed -i "s:^\(CXXFLAGS = \).*:\1${CXXFLAGS}:" unix/Makefile.in +} + +src_compile() { + local myconf + use python && myconf="--with-python" + use tcltk && myconf="${myconf} --with-tcl=/usr/include" + + CXXFLAGS="${CXXFLAGS}" unix/configure \ + ${myconf} \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die +} + +src_install () { + python_version + + [ `use python` ] && dodir /usr/lib/python${PYVER}/site-packages + make DESTDIR=${D} install || die + + dodoc CHANGES README WHATSNEW + dohtml MetaKit.html + dohtml -a html,gif,png,jpg -r doc/* +} |