# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-db/gnome-db-0.2.96.ebuild,v 1.18 2004/07/14 15:31:35 agriffis Exp $ IUSE="nls" DESCRIPTION="Framework for creating database applications" SRC_URI="ftp://ftp.gnome-db.org/pub/gnome-db/sources/latest/${P}.tar.gz ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz" HOMEPAGE="http://www.gnome.org/gnome-office/gnomedb.shtml" SLOT="0" LICENSE="GPL-2 LGPL-2.1" KEYWORDS="x86 sparc ppc" RDEPEND=">=gnome-base/bonobo-1.0.9-r1 =gnome-extra/libgda-${PV}* Makefile rm -f Makefile.orig cd ${S} make prefix=${D}/usr \ sysconfdir=${D}/etc \ mandir=${D}/usr/share/man \ localstatedir=${D}/var/lib \ localedir=${D}/usr/share/locale \ GNOME_sysconfdir=${D}/etc \ GNOME_datadir=${D}/usr/share \ GNOMEDB_oafinfodir=${D}/usr/share/oaf \ GNOMEDB_oafdir=${D}/usr/share/oaf \ install || die dodoc AUTHORS COPYING ChangeLog README } pkg_postinst() { echo ">>> Updating Scrollkeeper database..." scrollkeeper-update >/dev/null 2>&1 } pkg_postrm() { echo ">>> Updating Scrollkeeper database..." scrollkeeper-update >/dev/null 2>&1 }