diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2002-07-01 20:00:16 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2002-07-01 20:00:16 +0000 |
commit | 5f51cbfd1ec60386abd096a1991a5bb61ae6f4a9 (patch) | |
tree | ffc86661e24cd92827f2f84f462d043fcddfb900 /app-sci | |
parent | new ebuild for sony vaio laptops -- lets you use jog dial as mouse wheel. (diff) | |
download | gentoo-2-5f51cbfd1ec60386abd096a1991a5bb61ae6f4a9.tar.gz gentoo-2-5f51cbfd1ec60386abd096a1991a5bb61ae6f4a9.tar.bz2 gentoo-2-5f51cbfd1ec60386abd096a1991a5bb61ae6f4a9.zip |
new package -- molecule visualizer
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/rasmol/ChangeLog | 9 | ||||
-rw-r--r-- | app-sci/rasmol/files/digest-rasmol-2.6_beta2 | 2 | ||||
-rw-r--r-- | app-sci/rasmol/rasmol-2.6_beta2.ebuild | 54 |
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/* +} |