blob: 8d1a1b1934318e9640f1778da4a97af41f2f3284 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-db/gnome-db-0.2.95.ebuild,v 1.1 2002/01/27 14:18:38 azarah Exp $
S=${WORKDIR}/${P}
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"
RDEPEND=">=gnome-base/bonobo-1.0.9-r1
>=gnome-extra/libgda-${PV}
>=gnome-extra/gal-0.13-r1"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.11"
src_compile() {
./configure --host=${CHOST} \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--disable-bonobotest || die
emake || die
}
src_install() {
cd ${S}/doc
cp Makefile Makefile.orig
sed -e "s:scrollkeeper-update.*::g" Makefile.orig > Makefile
rm -f Makefile.orig
cd ${S}
make prefix=${D}/usr \
sysconfdir=${D}/etc \
localstatedir=${D}/var/lib \
localedir=${D}/usr/share/local \
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
}
|