blob: ef0ca53955801fe12f8c23c76acedc48dbb989b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Tod Neidt <tneidt@fidnet.com>
# /home/cvsroot/gentoo-x86/skel.build,v 1.7 2001/08/25 21:15:08 chadh Exp
S=${WORKDIR}/${P}
DESCRIPTION="Babel is a program to interconvert file formats used in molecular modeling."
SRC_URI="http://smog.com/chem/babel/files/${P}.tar.Z"
HOMEPAGE="http://smog.com/chem/babel/"
#Doesn't really seem to depend on anything (?)
DEPEND="virtual/glibc"
src_unpack() {
unpack ${P}.tar.Z
cd ${S}
#Patch the Makefile for gentoo-isms
patch -p0 < ${FILESDIR}/${P}-gentoo.diff || die
}
src_compile() {
emake || die
}
src_install () {
make DESTDIR=${D}/usr/bin install || die
insinto /usr/share/${PN}
doins ${S}/*.lis
insinto /etc/env.d
doins ${FILESDIR}/10babel
dodoc README.1ST
}
|