summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-12-29 00:48:15 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-12-29 00:48:15 +0000
commit796fb7794a39feb03efbb8182ff9c51701b8bc68 (patch)
treed9eaa99bc8c675b0ae3901beb8471987ad872635 /gnome-extra/gnome-games
parentautomake 1.4-p5 should be taken instead of automake 1.4-r2 (diff)
downloadgentoo-2-796fb7794a39feb03efbb8182ff9c51701b8bc68.tar.gz
gentoo-2-796fb7794a39feb03efbb8182ff9c51701b8bc68.tar.bz2
gentoo-2-796fb7794a39feb03efbb8182ff9c51701b8bc68.zip
fix guile build error
Diffstat (limited to 'gnome-extra/gnome-games')
-rw-r--r--gnome-extra/gnome-games/files/digest-gnome-games-1.4.0.3-r21
-rw-r--r--gnome-extra/gnome-games/gnome-games-1.4.0.3-r2.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/gnome-extra/gnome-games/files/digest-gnome-games-1.4.0.3-r2 b/gnome-extra/gnome-games/files/digest-gnome-games-1.4.0.3-r2
new file mode 100644
index 000000000000..f546e3dd4c15
--- /dev/null
+++ b/gnome-extra/gnome-games/files/digest-gnome-games-1.4.0.3-r2
@@ -0,0 +1 @@
+MD5 c12aed3d60abc5f872d14a556c1f1146 gnome-games-1.4.0.3.tar.gz 7835648
diff --git a/gnome-extra/gnome-games/gnome-games-1.4.0.3-r2.ebuild b/gnome-extra/gnome-games/gnome-games-1.4.0.3-r2.ebuild
new file mode 100644
index 000000000000..9fd688c1e8cb
--- /dev/null
+++ b/gnome-extra/gnome-games/gnome-games-1.4.0.3-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Reviewed by Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-1.4.0.3-r2.ebuild,v 1.1 2001/12/29 00:48:15 azarah 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=">=gnome-base/gnome-core-1.4.0.4-r1
+ >=dev-util/guile-1.5
+ >=media-libs/gdk-pixbuf-0.11.0-r1"
+
+DEPEND="${RDEPEND}
+ >=app-text/scrollkeeper-0.2
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+
+ unpack ${A}
+
+ # Fix build error with guile >= 1.5
+ cd ${S}/aisleriot
+ patch < ${FILESDIR}/guile-1.5-gentoo.diff || die
+ cd ${S}
+}
+
+src_compile() {
+ local myconf
+
+ if [ -z "`use nls`" ] ; then
+ myconf="--disable-nls"
+ fi
+
+ CFLAGS="${CFLAGS} `gnome-config --cflags gdk_pixbuf`"
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --with-ncurses $myconf || die
+
+ emake || die
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ sysconfdir=${D}/etc \
+ localstatedir=${D}/var/lib \
+ install || die
+
+ dodoc AUTHORS COPYING* ChangeLog NEWS README*
+}
+
+
+