diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2002-01-14 10:24:15 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2002-01-14 10:24:15 +0000 |
commit | 7744dd47b83938e7d44c35a1afd4ea184e5047fd (patch) | |
tree | 5c78554ea766a432df5e1176cf487d8afb7ba246 /gnome-extra | |
parent | using ~ instead of =, fixes #157 (diff) | |
download | gentoo-2-7744dd47b83938e7d44c35a1afd4ea184e5047fd.tar.gz gentoo-2-7744dd47b83938e7d44c35a1afd4ea184e5047fd.tar.bz2 gentoo-2-7744dd47b83938e7d44c35a1afd4ea184e5047fd.zip |
updated, fixes scrollkeeper issues
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/gnome-utils/files/digest-gnome-utils-1.4.1.1-r4 | 1 | ||||
-rw-r--r-- | gnome-extra/gnome-utils/gnome-utils-1.4.1.1-r4.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/gnome-extra/gnome-utils/files/digest-gnome-utils-1.4.1.1-r4 b/gnome-extra/gnome-utils/files/digest-gnome-utils-1.4.1.1-r4 new file mode 100644 index 000000000000..62748efbfcb4 --- /dev/null +++ b/gnome-extra/gnome-utils/files/digest-gnome-utils-1.4.1.1-r4 @@ -0,0 +1 @@ +MD5 9e8a004bf2e6aec7175e9cab8263d609 gnome-utils-1.4.1.1.tar.gz 4407296 diff --git a/gnome-extra/gnome-utils/gnome-utils-1.4.1.1-r4.ebuild b/gnome-extra/gnome-utils/gnome-utils-1.4.1.1-r4.ebuild new file mode 100644 index 000000000000..89b0bb2d2bbe --- /dev/null +++ b/gnome-extra/gnome-utils/gnome-utils-1.4.1.1-r4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-utils/gnome-utils-1.4.1.1-r4.ebuild,v 1.1 2002/01/14 10:24:15 hallski Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="gnome-utils" +SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.gnome.org/" + +RDEPEND=">=sys-apps/portage-1.8.4 + >=gnome-base/gnome-core-1.4.0.4-r1 + >=gnome-base/libgtop-1.0.12-r1 + >=gnome-base/libglade-0.17-r1 + >=sys-apps/e2fsprogs-1.19-r2" + +DEPEND="${RDEPEND} + >=dev-util/guile-1.5 + >=sys-apps/shadow-20000000 + nls? ( sys-devel/gettext )" + + +src_unpack() { + + unpack ${A} + + # Fix compile error with >=dev-util/guile-1.5 + # NOTE: someone with guile coding experience should verify that + # scm_num2dbl is used correctly! + cd ${S} + cp gtt/ghtml.c gtt/ghtml.c.orig + sed -e 's:SCM_NUM2DBL (node):scm_num2dbl (node, "ghtml"):' \ + gtt/ghtml.c.orig >gtt/ghtml.c +} + +src_compile() { + + local myconf + use nls || myconf="--disable-nls" + CFLAGS="${CFLAGS} `gnome-config --cflags libglade`" + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-ncurses \ + --with-messages=/var/log/syslog.d/current \ + --localstatedir=/var/lib \ + --sysconfdir=/etc \ + $myconf || die + + emake || die +} + +src_install() { + cd omf-install + cp Makefile Makefile.old + sed -e "s:scrollkeeper-update.*::g" Makefile.old > Makefile + rm Makefile.old + cd ${S} + + make DESTDIR=${D} install || die + dodoc AUTHORS COPYING* ChangeLog NEWS 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 +} |