summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-10 17:52:51 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-10 17:52:51 +0000
commitdfd2e6bc14aeeb776a4390880da4eb9e188bd9d5 (patch)
tree87314eb33377bdc5916e26218841931c0303ef52 /games-kids/gtans/gtans-1.2.ebuild
parentWebapps now require webapp-config 1.7 (diff)
downloadgentoo-2-dfd2e6bc14aeeb776a4390880da4eb9e188bd9d5.tar.gz
gentoo-2-dfd2e6bc14aeeb776a4390880da4eb9e188bd9d5.tar.bz2
gentoo-2-dfd2e6bc14aeeb776a4390880da4eb9e188bd9d5.zip
dont use $CC
Diffstat (limited to 'games-kids/gtans/gtans-1.2.ebuild')
-rw-r--r--games-kids/gtans/gtans-1.2.ebuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/games-kids/gtans/gtans-1.2.ebuild b/games-kids/gtans/gtans-1.2.ebuild
index 04f58c6e5bca..dc8f01b5e5de 100644
--- a/games-kids/gtans/gtans-1.2.ebuild
+++ b/games-kids/gtans/gtans-1.2.ebuild
@@ -1,16 +1,16 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/gtans-1.2.ebuild,v 1.3 2004/05/10 02:28:01 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/gtans-1.2.ebuild,v 1.4 2004/05/10 17:50:38 vapier Exp $
-inherit games
+inherit games gcc
-DESCRIPTION="The Tangram is a chinese puzzle. The object is to put seven geometric shapes together so as to form a given outline."
+DESCRIPTION="The Tangram is a chinese puzzle of shapes"
HOMEPAGE="http://gtans.sourceforge.net/"
-SRC_URI="http://download.sourceforge.net/gtans/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/gtans/${P}.tar.gz"
-KEYWORDS="x86 amd64"
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="x86 amd64"
IUSE="nls"
RDEPEND="virtual/x11
@@ -27,19 +27,19 @@ src_unpack() {
if ! use nls ; then
sed -i \
-e "/\(TGTXT\| po\)/ s/^/#/" \
- -e "/^CC/ s:=.*:= ${CC}:" \
+ -e "/^CC/ s:=.*:= $(gcc-getCC):" \
-e "/misc/ s/PREFIX.*/install/" \
-e "/^CFLG[ ]*=/ s:=.*:= ${CFLAGS}:" makefile \
- || die "sed makefile failed"
+ || die "sed makefile failed"
fi
sed -i \
-e "s:/share::" \
-e "/^PREFIX/ s:usr:usr/share:" misc/Makefile \
- || die "sed misc/Makefile failed"
+ || die "sed misc/Makefile failed"
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS HISTORY || die "dodoc failed"
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS HISTORY
prepgamesdirs
}