/[gentoo-x86]/app-sci/elem/elem-1.0.1.ebuild
Gentoo

Contents of /app-sci/elem/elem-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Nov 8 11:40:47 2004 UTC (10 years ago) by phosphan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Fixing #70057, using CFLAGS and toolchain-funcs getCC now.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-sci/elem/elem-1.0.1.ebuild,v 1.6 2004/07/01 11:50:56 eradicator Exp $
4
5 DESCRIPTION="periodic table of the elements"
6 HOMEPAGE="http://elem.sourceforge.net/"
7 SRC_URI="mirror://sourceforge/elem/${PN}-src-${PV}.tgz"
8 LICENSE="GPL-2"
9 KEYWORDS="x86"
10 SLOT="0"
11 IUSE=""
12
13 S=${WORKDIR}/${PN}
14
15 RDEPEND="virtual/x11
16 virtual/libc
17 x11-libs/xforms"
18 DEPEND="${RDEPEND}
19 >=sys-apps/sed-4"
20
21 src_unpack () {
22 unpack ${A}
23 cd ${S}
24 einfo "Modifying Makefile..."
25 sed -i -e 's:^LIBS.*:\0 -lXpm:' Makefile
26 }
27
28 src_compile () {
29 emake all || die "Build failed."
30 }
31
32 src_install () {
33 into /usr
34 dobin elem elem-de elem-en
35 dohtml -r doc/*
36 }

  ViewVC Help
Powered by ViewVC 1.1.20