diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2001-10-16 23:41:30 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2001-10-16 23:41:30 +0000 |
commit | e862343629d1ae077a8e417f5e8101238114e8df (patch) | |
tree | 54c2dd8cc2c839e107545a97d62720e1103886b7 /gnome-base/gnome-print | |
parent | finally (?) fixed this Xaw3d problem (diff) | |
download | gentoo-2-e862343629d1ae077a8e417f5e8101238114e8df.tar.gz gentoo-2-e862343629d1ae077a8e417f5e8101238114e8df.tar.bz2 gentoo-2-e862343629d1ae077a8e417f5e8101238114e8df.zip |
Updated to latest version
Diffstat (limited to 'gnome-base/gnome-print')
4 files changed, 71 insertions, 9 deletions
diff --git a/gnome-base/gnome-print/files/digest-gnome-print-0.30-r1 b/gnome-base/gnome-print/files/digest-gnome-print-0.30-r1 new file mode 100644 index 000000000000..d37717a94913 --- /dev/null +++ b/gnome-base/gnome-print/files/digest-gnome-print-0.30-r1 @@ -0,0 +1 @@ +MD5 4a3c0dff05f649d59616c7652d149759 gnome-print-0.30.tar.gz diff --git a/gnome-base/gnome-print/files/digest-gnome-print-0.31 b/gnome-base/gnome-print/files/digest-gnome-print-0.31 new file mode 100644 index 000000000000..92955786a22e --- /dev/null +++ b/gnome-base/gnome-print/files/digest-gnome-print-0.31 @@ -0,0 +1 @@ +MD5 345886fa17f598b7487b67bf876f3cef gnome-print-0.31.tar.gz diff --git a/gnome-base/gnome-print/gnome-print-0.30.ebuild b/gnome-base/gnome-print/gnome-print-0.30.ebuild index 17a95035c7cf..dd6f418ed911 100644 --- a/gnome-base/gnome-print/gnome-print-0.30.ebuild +++ b/gnome-base/gnome-print/gnome-print-0.30.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-print/gnome-print-0.30.ebuild,v 1.2 2001/10/07 22:15:58 hallski Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-print/gnome-print-0.30.ebuild,v 1.3 2001/10/16 23:41:30 hallski Exp $ S=${WORKDIR}/${P} @@ -17,15 +17,23 @@ DEPEND="${RDEPEND} sys-devel/perl >=app-text/ghostscript-6.50-r2" -src_compile() { +src_unpack() { + unpack ${P}.tar.gz + + cd ${S} # add missing DESTDIR to font installation sed -e 's:install $(datadir):install $(DESTDIR)$(datadir):' \ installer/Makefile.in > installer/Makefile.in.new mv installer/Makefile.in.new installer/Makefile.in - - # apply use settings +} + +src_compile() { local myconf - [ -z "`use nls`" ] && myconf="--disable-nls" + + if [ -z "`use nls`" ] + then + myconf="--disable-nls" + fi ./configure --host=${CHOST} \ --prefix=/usr \ @@ -37,10 +45,7 @@ src_compile() { } src_install() { - make prefix=${D}/usr \ - sysconfdir=${D}/etc \ - localstatedir=${D}/var/lib \ - install || die + make DESTDIR=${D} install || die dosed /usr/share/fonts/fontmap dodoc AUTHORS COPYING ChangeLog NEWS README TODO diff --git a/gnome-base/gnome-print/gnome-print-0.31.ebuild b/gnome-base/gnome-print/gnome-print-0.31.ebuild new file mode 100644 index 000000000000..4c33f4ddea15 --- /dev/null +++ b/gnome-base/gnome-print/gnome-print-0.31.ebuild @@ -0,0 +1,55 @@ +# 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-print/gnome-print-0.31.ebuild,v 1.1 2001/10/16 23:41:30 hallski Exp $ + + +S=${WORKDIR}/${P} +DESCRIPTION="gnome-print" +SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.gnome.org/" + +RDEPEND=">=media-libs/gdk-pixbuf-0.11.0-r1 + >=gnome-base/libglade-0.17-r1" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + sys-devel/perl + >=app-text/ghostscript-6.50-r2" + +src_unpack() { + unpack ${P}.tar.gz + + cd ${S} + # add missing DESTDIR to font installation + sed -e 's:install $(datadir):install $(DESTDIR)$(datadir):' \ + installer/Makefile.in > installer/Makefile.in.new + mv installer/Makefile.in.new installer/Makefile.in +} + +src_compile() { + local myconf + + if [ -z "`use nls`" ] + then + myconf="--disable-nls" + fi + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + $myconf || die + + emake || die +} + +src_install() { + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/lib \ + install || die + + dosed /usr/share/fonts/fontmap + dodoc AUTHORS COPYING ChangeLog NEWS README TODO +} |