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

Contents of /app-sci/elem/elem-1.0.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Dec 24 16:33:30 2004 UTC (10 years, 1 month ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Moving to sci-chemistry/elem

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.3-r1.ebuild,v 1.3 2004/12/13 13:05:14 phosphan Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="periodic table of the elements"
8 HOMEPAGE="http://elem.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/elem/${PN}-src-${PV}-Linux.tgz"
10 LICENSE="GPL-2"
11 KEYWORDS="x86 ~amd64"
12 SLOT="0"
13 IUSE=""
14
15 DEPEND="virtual/x11
16 virtual/libc
17 x11-libs/xforms"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 sed -e 's:\(^LIBS = .*\):\1 -lXpm:' -i Makefile || die "sed failed"
23 }
24
25 src_compile () {
26 emake COMPILER="$(tc-getCC)" FLAGS="${CFLAGS}" all || die "Build failed."
27 }
28
29 src_install () {
30 into /usr
31 dobin elem elem-de elem-en
32 dohtml -r doc/*
33 }

  ViewVC Help
Powered by ViewVC 1.1.20