summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-08-31 22:04:27 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-08-31 22:04:27 +0000
commitf65bad449307cba60e3791772765795dddad10a0 (patch)
treeae757d8f7c73dc1ac9d668716c28c181ab69daba /gnome-base/gnome-vfs
parentstructure cleanup (diff)
downloadhistorical-f65bad449307cba60e3791772765795dddad10a0.tar.gz
historical-f65bad449307cba60e3791772765795dddad10a0.tar.bz2
historical-f65bad449307cba60e3791772765795dddad10a0.zip
cleanup and manpath fix
Diffstat (limited to 'gnome-base/gnome-vfs')
-rw-r--r--gnome-base/gnome-vfs/gnome-vfs-1.0.1.ebuild40
1 files changed, 22 insertions, 18 deletions
diff --git a/gnome-base/gnome-vfs/gnome-vfs-1.0.1.ebuild b/gnome-base/gnome-vfs/gnome-vfs-1.0.1.ebuild
index 23529370b4ba..0e59e0daf081 100644
--- a/gnome-base/gnome-vfs/gnome-vfs-1.0.1.ebuild
+++ b/gnome-base/gnome-vfs/gnome-vfs-1.0.1.ebuild
@@ -1,7 +1,7 @@
# 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-base/gnome-vfs/gnome-vfs-1.0.1.ebuild,v 1.7 2001/08/31 20:39:41 hallski Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/gnome-vfs-1.0.1.ebuild,v 1.8 2001/08/31 22:04:27 hallski Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -9,35 +9,39 @@ DESCRIPTION="gnome-vfs"
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${A}"
HOMEPAGE="http://www.gnome.org/"
-DEPEND="nls? ( sys-devel/gettext )
- >=dev-util/xml-i18n-tools-0.8.4
- >=gnome-base/gconf-1.0.0"
-
RDEPEND=">=gnome-base/gconf-1.0.0"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ >=dev-util/xml-i18n-tools-0.8.4"
+
src_unpack() {
- unpack ${A}
- cd ${S}
- patch -p1 < ${FILESDIR}/${P}-gentoo-intl.diff
+ unpack ${A}
+
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${P}-gentoo-intl.diff || die
}
src_compile() {
+ local myconf
+
+ if [ -z "`use nls`" ]
+ then
+ myconf="--disable-nls"
+ fi
- local myconf
- if [ -z "`use nls`" ]
- then
- myconf="--disable-nls"
- fi
- try ./configure --host=${CHOST} --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome \
- --mandir=/opt/gnome/share/man ${myconf}
- try pmake
+ ./configure --host=${CHOST} --prefix=/opt/gnome \
+ --sysconfdir=/etc/opt/gnome \
+ --mandir=/opt/gnome/man ${myconf} || die
+ emake || die
}
src_install() {
+ make prefix=${D}/opt/gnome sysconfdir=${D}/etc/opt/gnome \
+ mandir=${D}/opt/gnome/man install || die
- try make prefix=${D}/opt/gnome sysconfdir=${D}/etc/opt/gnome mandir=${D}/opt/gnome/share/man install
- dodoc AUTHORS COPYING* ChangeLog NEWS README
+ dodoc AUTHORS COPYING* ChangeLog NEWS README
}