diff options
author | 2002-05-07 01:35:08 +0000 | |
---|---|---|
committer | 2002-05-07 01:35:08 +0000 | |
commit | 881dfc767395036bd19d56767de3c08534a0bfc0 (patch) | |
tree | 2da3493f2c9ebab4da4bc506c8c245ec77e6cdaa /app-sci/gperiodic/gperiodic-1.3.2.ebuild | |
parent | CD files (diff) | |
download | gentoo-2-881dfc767395036bd19d56767de3c08534a0bfc0.tar.gz gentoo-2-881dfc767395036bd19d56767de3c08534a0bfc0.tar.bz2 gentoo-2-881dfc767395036bd19d56767de3c08534a0bfc0.zip |
moved gperiodic from app-misc to app-sci
Diffstat (limited to 'app-sci/gperiodic/gperiodic-1.3.2.ebuild')
-rw-r--r-- | app-sci/gperiodic/gperiodic-1.3.2.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-sci/gperiodic/gperiodic-1.3.2.ebuild b/app-sci/gperiodic/gperiodic-1.3.2.ebuild new file mode 100644 index 000000000000..52e30ff92044 --- /dev/null +++ b/app-sci/gperiodic/gperiodic-1.3.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Desktop Team <desktop@cvs.gentoo.org> +# Author Tod Neidt <tneidt@fidnet.com> +# $Header: /var/cvsroot/gentoo-x86/app-sci/gperiodic/gperiodic-1.3.2.ebuild,v 1.1 2002/05/07 01:35:08 george Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GPeriodic is a periodic table application for Linux." +SRC_URI="ftp://ftp.seul.org/pub/gperiodic/${P}.tar.gz" +HOMEPAGE="http://gperiodic.seul.org/" + +DEPEND=">=sys-libs/ncurses-5.2 + >=x11-libs/gtk+-1.2.1 + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + + #Fix version number,comment out non-working lex inquiry + # to eliminate superfluous config error, and use ncurses for termcap + + patch -p1 < ${FILESDIR}/${P}-gentoo.diff || die +} + +src_compile() { + local myconf + + if [ -z "`use nls`" ] + then + myconf="--disable-nls" + fi + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + ${myconf} || die + + emake || die +} + +src_install () { + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/lib \ + infodir=${D}/usr/share/info \ + mandir=${D}/usr/share/man \ + install || die + + doman man/gperiodic.1 + + dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README +} |