summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-07-25 17:20:02 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-07-25 17:20:02 +0000
commit5c9f65798bcd4fe2d5a2bc13478eaa37add0574e (patch)
tree5f754c83d0df4603868a68572e913c2846a76411 /app-misc/gtktrain
parentrepoman'd (diff)
downloadhistorical-5c9f65798bcd4fe2d5a2bc13478eaa37add0574e.tar.gz
historical-5c9f65798bcd4fe2d5a2bc13478eaa37add0574e.tar.bz2
historical-5c9f65798bcd4fe2d5a2bc13478eaa37add0574e.zip
repoman'd
Diffstat (limited to 'app-misc/gtktrain')
-rw-r--r--app-misc/gtktrain/gtktrain-0.9b.ebuild25
1 files changed, 8 insertions, 17 deletions
diff --git a/app-misc/gtktrain/gtktrain-0.9b.ebuild b/app-misc/gtktrain/gtktrain-0.9b.ebuild
index 6c22cdacdb6c..d98e7f384b95 100644
--- a/app-misc/gtktrain/gtktrain-0.9b.ebuild
+++ b/app-misc/gtktrain/gtktrain-0.9b.ebuild
@@ -1,35 +1,26 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gtktrain/gtktrain-0.9b.ebuild,v 1.1 2002/06/10 02:01:53 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gtktrain/gtktrain-0.9b.ebuild,v 1.2 2002/07/25 17:20:01 seemant Exp $
DESCRIPTION="GUI app for calculating fastest train routes"
SRC_URI="http://www.on.rim.or.jp/~katamuki/software/train/${P}.tar.gz"
HOMEPAGE="http://www.on.rim.or.jp/~katamuki/software/train/"
-LICENSE="GPL-2"
DEPEND=">=dev-libs/libtrain-0.9b
>=gnome-base/gnome-libs-1.4.1.2-r1"
-src_compile() {
- if [ -z "`use nls`" ] ; then
- NLS_OPTION="--disable-nls"
- fi
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
- ./configure \
- --host=${CHOST} \
- --prefix=/usr \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man \
- ${NLS_OPTION} || die "./configure failed"
+src_compile() {
+ use nls || NLS_OPTION="--disable-nls"
+ econf ${NLS_OPTION} || die "./configure failed"
emake || die
}
src_install () {
- make \
- prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install || die
+ einstall || die
}
pkg_postinst () {