diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2001-10-06 23:59:41 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2001-10-06 23:59:41 +0000 |
commit | 377a13419e893c81664feb144f557f42a7f9177b (patch) | |
tree | 9482c8535848b5c7467030f81110b3f543973d6e /app-text/ggv | |
parent | untested, will test on my laptop (diff) | |
download | historical-377a13419e893c81664feb144f557f42a7f9177b.tar.gz historical-377a13419e893c81664feb144f557f42a7f9177b.tar.bz2 historical-377a13419e893c81664feb144f557f42a7f9177b.zip |
updated to new location
Diffstat (limited to 'app-text/ggv')
-rw-r--r-- | app-text/ggv/ggv-1.0.1.ebuild | 56 |
1 files changed, 30 insertions, 26 deletions
diff --git a/app-text/ggv/ggv-1.0.1.ebuild b/app-text/ggv/ggv-1.0.1.ebuild index a6cbc30343c6..9c0d93eb497e 100644 --- a/app-text/ggv/ggv-1.0.1.ebuild +++ b/app-text/ggv/ggv-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/app-text/ggv/ggv-1.0.1.ebuild,v 1.7 2001/08/31 03:23:39 pm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ggv/ggv-1.0.1.ebuild,v 1.8 2001/10/06 23:59:41 hallski Exp $ A=${P}.tar.gz @@ -10,36 +10,40 @@ DESCRIPTION="Gnome Ghostview" SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/"${A} HOMEPAGE="http://www.gnome.org/" -DEPEND=">=gnome-base/gnome-libs-1.2.4 - bonobo? ( >=gnome-base/bonobo-1.0 ) - nls? ( sys-devel/gettext )" +RDEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1 + bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )" -RDEPEND=">=gnome-base/gnome-libs-1.2.4 - bonobo? ( >=gnome-base/bonobo-1.0 )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" src_compile() { - local myconf - if [ -z "`use nls`" ] ; then - myconf="--disable-nls" - fi - if [ "`use bonobo`" ] ; then - myconf="$myconf --with-bonobo" - else - myconf="$myconf --without-bonobo" - cp configure configure.orig - sed -e "s/BONOBO_TRUE/BONOBO_FALSE/" configure.orig > configure - fi - try ./configure --host=${CHOST} --prefix=/opt/gnome \ - $myconf - # bonobo support does not work yet - try pmake -} + local myconf -src_install() { - try make prefix=${D}/opt/gnome install - dodoc AUTHORS COPYING ChangeLog NEWS README TODO -} + if [ -z "`use nls`" ] ; then + myconf="--disable-nls" + fi + if [ "`use bonobo`" ] ; then + myconf="$myconf --with-bonobo" + else + myconf="$myconf --without-bonobo" + cp configure configure.orig + sed -e "s/BONOBO_TRUE/BONOBO_FALSE/" configure.orig > configure + fi + CFLAGS="${CFLAGS} `gnome-config --cflags bonobo bonobox`" + ./configure --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + $myconf || die + # bonobo support does not work yet + emake || die +} + +src_install() { + make prefix=${D}/usr sysconfdir=${D}/etc install || die + + dodoc AUTHORS COPYING ChangeLog NEWS README TODO +} |