Line
Link Here
|
0 |
-- modeller-8.2.ebuild 2007-03-21 08:30:26.000000000 +0100 |
0 |
++ modeller-9.1.ebuild 2007-03-21 08:22:54.000000000 +0100 |
Lines 2-15
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: $ |
3 |
# $Header: $ |
4 |
KEYWORDS="~amd64" |
4 |
KEYWORDS="~x86 ~amd64" |
5 |
LICENSE="NONE_YET" |
5 |
LICENSE="NONE_YET" |
6 |
SLOT="0" |
6 |
SLOT="0" |
7 |
HOMEPAGE="http://salilab.org/modeller/" |
7 |
HOMEPAGE="http://salilab.org/modeller/" |
8 |
# This package name does not conform to gentoos ebuild naming requirements... |
8 |
# This package name does not conform to gentoos ebuild naming requirements... |
9 |
# namely, modeller-8v2 will not work due to a non-integer in the ${V}. |
9 |
# namely, modeller-8v2 will not work due to a non-integer in the ${V}. |
10 |
MY_V="8v2" |
10 |
MY_V="9v1" |
11 |
MY_P="${PN}-${MY_V}" |
11 |
MY_P="${PN}-${MY_V}" |
12 |
SRC_URI="http://salilab.org/modeller/${MY_V}/${MY_P}.tar.gz" |
12 |
SRC_URI="http://salilab.org/modeller/${MY_V}/${MY_P}.tar.gz" |
Lines 22-28
Link Here
|
22 |
# I basically perform every operation of the modeller-8v2 Install script, |
22 |
# I basically perform every operation of the modeller-8v2 Install script, |
23 |
# hence the introduction of a few extra variables. |
23 |
# hence the introduction of a few extra variables. |
24 |
PROGRAM="mod8v2" |
24 |
PROGRAM="mod9v1" |
25 |
MY_D=/opt/${P} |
25 |
MY_D=/opt/${P} |
26 |
if [[ "${ARCH}" == "x86" ]] ; then EXECUTABLE_TYPE="i386-intel8" |
26 |
if [[ "${ARCH}" == "x86" ]] ; then EXECUTABLE_TYPE="i386-intel8" |
Lines 42-49
Link Here
|
42 |
cp -p README INSTALLATION ${D}${MY_D} || die "Failed to install README files." |
42 |
cp -p README INSTALLATION ${D}${MY_D} || die "Failed to install README files." |
43 |
dodir ${MY_D}/bin |
43 |
dodir ${MY_D}/bin |
44 |
cp -rp bin/*.top bin/lib bin/${PROGRAM}_${EXECUTABLE_TYPE} ${D}${MY_D}/bin |
44 |
cp -rp bin/*.top bin/lib bin/modslave.py bin/${PROGRAM}_${EXECUTABLE_TYPE} ${D}${MY_D}/bin |
45 |
|
45 |
|
|
|
46 |
dodir ${MY_D}/lib |
47 |
cp -rp lib/${EXECUTABLE_TYPE} ${D}${MY_D}/lib || die "Failed to install libraries" |
48 |
|
46 |
dodir ${MY_D}/modlib |
49 |
dodir ${MY_D}/modlib |
47 |
cp -rp modlib ${D}${MY_D}/ || die "Failed to install modlib" |
50 |
cp -rp modlib ${D}${MY_D}/ || die "Failed to install modlib" |