summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2002-07-01 20:00:16 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2002-07-01 20:00:16 +0000
commit2ccd34a4f453b92f6f1589e5aace5dbab726e1de (patch)
tree083eb99d3f0cd03fd518be28766decfe3b80b0ee /app-sci/rasmol
parentnew ebuild for sony vaio laptops -- lets you use jog dial as mouse wheel. (diff)
downloadhistorical-2ccd34a4f453b92f6f1589e5aace5dbab726e1de.tar.gz
historical-2ccd34a4f453b92f6f1589e5aace5dbab726e1de.tar.bz2
historical-2ccd34a4f453b92f6f1589e5aace5dbab726e1de.zip
new package -- molecule visualizer
Diffstat (limited to 'app-sci/rasmol')
-rw-r--r--app-sci/rasmol/ChangeLog9
-rw-r--r--app-sci/rasmol/files/digest-rasmol-2.6_beta22
-rw-r--r--app-sci/rasmol/rasmol-2.6_beta2.ebuild54
3 files changed, 65 insertions, 0 deletions
diff --git a/app-sci/rasmol/ChangeLog b/app-sci/rasmol/ChangeLog
new file mode 100644
index 000000000000..0272ca0698d6
--- /dev/null
+++ b/app-sci/rasmol/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-sci/rasmol
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-sci/rasmol/ChangeLog,v 1.1 2002/07/01 20:00:16 g2boojum Exp $
+
+*rasmol-2.6_beta2 (01 Jul 2002)
+
+ 01 Jul 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog :
+
+ new package
diff --git a/app-sci/rasmol/files/digest-rasmol-2.6_beta2 b/app-sci/rasmol/files/digest-rasmol-2.6_beta2
new file mode 100644
index 000000000000..dbe9e9dc16f4
--- /dev/null
+++ b/app-sci/rasmol/files/digest-rasmol-2.6_beta2
@@ -0,0 +1,2 @@
+MD5 6ff7b406ce6056a64d674994c7375aec rasmol_2.6b2.orig.tar.gz 754458
+MD5 0fcf23bc3704e757f82df2b9a385536b rasmol_2.6b2-6.diff.gz 29683
diff --git a/app-sci/rasmol/rasmol-2.6_beta2.ebuild b/app-sci/rasmol/rasmol-2.6_beta2.ebuild
new file mode 100644
index 000000000000..313f09c64ea9
--- /dev/null
+++ b/app-sci/rasmol/rasmol-2.6_beta2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/rasmol/rasmol-2.6_beta2.ebuild,v 1.1 2002/07/01 20:00:16 g2boojum Exp $
+
+DESCRIPTION="Free program which displays molecular structure."
+HOMEPAGE="http://www.umass.edu/microbio/rasmol/index2.htm"
+
+LICENSE=""
+
+DEPEND="virtual/x11"
+
+RDEPEND="${DEPEND}"
+
+P0=rasmol_2.6b2
+SRC_URI="ftp://ftp.debian.org/debian/pool/main/r/${PN}/${P0}.orig.tar.gz
+ ftp://ftp.debian.org/debian/pool/main/r/${PN}/${P0}-6.diff.gz"
+
+S="${WORKDIR}/RasMol2"
+
+src_unpack() {
+ unpack ${P0}.orig.tar.gz
+ zcat ${DISTDIR}/${P0}-6.diff.gz | patch -d ${S} -p1 || die "debian patch failed"
+}
+
+src_compile() {
+ xmkmf || die "xmkmf failed"
+ make DEPTHDEF=-DEIGHTBIT=1 CC=gcc \
+ CDEBUGFLAGS="${CFLAGS} -DLINUX" \
+ || die "8-bit make failed"
+ mv rasmol rasmol.8
+ make clean
+ make DEPTHDEF=-DSIXTEENBIT=1 CC=gcc \
+ CDEBUGFLAGS="${CFLAGS} -DLINUX" \
+ || die "16-bit make failed"
+ mv rasmol rasmol.16
+ make clean
+ make DEPTHDEF=-DTHIRTYTWOBIT=1 CC=gcc \
+ CDEBUGFLAGS="${CFLAGS} -DLINUX" \
+ || die "32-bit make failed"
+ mv rasmol rasmol.32
+ make clean
+}
+
+src_install () {
+ newbin debian/rasmol.sh.debian rasmol
+ insinto /usr/lib/${PN}
+ doins rasmol.{8,16,32} rasmol.hlp
+ chmod a+x ${D}/usr/lib/${PN}/rasmol.{8,16,32}
+ dodoc INSTALL Announce PROJECTS README TODO doc/manual.ps doc/rasmol.txt
+ dodoc doc/refcard.doc doc/refcard.ps
+ doman debian/rasmol.1
+ insinto /usr/lib/${PN}/databases
+ doins data/*
+}