summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2006-01-20 13:49:26 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2006-01-20 13:49:26 +0000
commit9ac051ee14f9fd1b48b106e92eddab8e30090d5f (patch)
tree8fd9616062618a67d1a1e89966c2e6566a1f5b98 /sci-chemistry
parentUpstream re-released 2.4.6. (diff)
downloadgentoo-2-9ac051ee14f9fd1b48b106e92eddab8e30090d5f.tar.gz
gentoo-2-9ac051ee14f9fd1b48b106e92eddab8e30090d5f.tar.bz2
gentoo-2-9ac051ee14f9fd1b48b106e92eddab8e30090d5f.zip
Porting to modular X
(Portage version: 2.0.53)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/elem/ChangeLog9
-rw-r--r--sci-chemistry/elem/Manifest16
-rw-r--r--sci-chemistry/elem/elem-1.0.3-r2.ebuild32
-rw-r--r--sci-chemistry/elem/files/digest-elem-1.0.3-r21
4 files changed, 44 insertions, 14 deletions
diff --git a/sci-chemistry/elem/ChangeLog b/sci-chemistry/elem/ChangeLog
index 88d94fd4b3b4..bb4b8a843dc7 100644
--- a/sci-chemistry/elem/ChangeLog
+++ b/sci-chemistry/elem/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/elem
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/elem/ChangeLog,v 1.3 2005/05/29 23:08:55 cryos Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/elem/ChangeLog,v 1.4 2006/01/20 13:49:26 phosphan Exp $
+
+*elem-1.0.3-r2 (20 Jan 2006)
+
+ 20 Jan 2006; Patrick Kursawe <phosphan@gentoo.org> +elem-1.0.3-r2.ebuild:
+ Porting to modular X
29 May 2005; Marcus D. Hanwell <marcus@gentoo.org> elem-1.0.3-r1.ebuild:
Stable on amd64.
diff --git a/sci-chemistry/elem/Manifest b/sci-chemistry/elem/Manifest
index 3d5cee5ae7cc..22509ace39d4 100644
--- a/sci-chemistry/elem/Manifest
+++ b/sci-chemistry/elem/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 5c4c39a4dc5ef4037f969b4ce5f9ea0c elem-1.0.3-r1.ebuild 781
MD5 f36bc212c32654e0bd89359a02499785 ChangeLog 1481
-MD5 c000c0728c9136f1b54cbc3a5fc07644 metadata.xml 220
+MD5 5c4c39a4dc5ef4037f969b4ce5f9ea0c elem-1.0.3-r1.ebuild 781
+MD5 bc5ef3b928895986169a1b5d7b9f49cc elem-1.0.3-r2.ebuild 756
MD5 2aff871a57515123e5580c4530d20c6e files/digest-elem-1.0.3-r1 68
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCmkuVntT9W3vfTuoRAu0fAJ0ULT1V8/DZbxHRB1IssDtSC+iqxgCbBemh
-w91E8JWi+iJk/1Hhp2OZ4xc=
-=/+aG
------END PGP SIGNATURE-----
+MD5 2aff871a57515123e5580c4530d20c6e files/digest-elem-1.0.3-r2 68
+MD5 c000c0728c9136f1b54cbc3a5fc07644 metadata.xml 220
diff --git a/sci-chemistry/elem/elem-1.0.3-r2.ebuild b/sci-chemistry/elem/elem-1.0.3-r2.ebuild
new file mode 100644
index 000000000000..51591fefae0e
--- /dev/null
+++ b/sci-chemistry/elem/elem-1.0.3-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/elem/elem-1.0.3-r2.ebuild,v 1.1 2006/01/20 13:49:26 phosphan Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="periodic table of the elements"
+HOMEPAGE="http://elem.sourceforge.net/"
+SRC_URI="mirror://sourceforge/elem/${PN}-src-${PV}-Linux.tgz"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/xforms"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -e 's:\(^LIBS = .*\):\1 -lXpm:' -i Makefile || die "sed failed"
+}
+
+src_compile () {
+ emake COMPILER="$(tc-getCC)" FLAGS="${CFLAGS}" all || die "Build failed."
+}
+
+src_install () {
+ into /usr
+ dobin elem elem-de elem-en
+ dohtml -r doc/*
+}
+
diff --git a/sci-chemistry/elem/files/digest-elem-1.0.3-r2 b/sci-chemistry/elem/files/digest-elem-1.0.3-r2
new file mode 100644
index 000000000000..a8318de43361
--- /dev/null
+++ b/sci-chemistry/elem/files/digest-elem-1.0.3-r2
@@ -0,0 +1 @@
+MD5 7fb16c092430380d08772bd82ca590cb elem-src-1.0.3-Linux.tgz 58364