updated on Tue Jan 17 00:10:10 UTC 2012
[aur-mirror.git] / modeller / modeller.install
blobb028736aa3690dc9798cd2c292d42062b9c1945d
1 post_install() {
3 MODINSTALL="$pkgdir/usr/lib/modeller"
4 if [ "$CARCH" = "i686" ]; then
5     # for i686
6     EXECUTABLE_TYPE="i386-intel8"
7 else # for x86_64
8     EXECUTABLE_TYPE="x86_64-intel8"
9 fi
11 cat << EOF
12 ==> You can also use Modeller as a Python module, if you have Python
13 ==> installed (any version between 2.3 and 2.7). Do this using the script:
14 ==> ${MODINSTALL}/bin/modpy.sh"
15 ==> Simply add your regular Python command line after this script, e.g.
16 ==> ${MODINSTALL}/bin/modpy.sh python myscript.py"
17 echo
18 ==> Alternatively, you could ensure that the following directories containing
19 ==> Python modules are in your Python path:
20 ==> ${MODINSTALL}/modlib
21 ==> ${MODINSTALL}/lib/${EXECUTABLE_TYPE} (for Python 2.3 or Python 2.4)
22 ==> ${MODINSTALL}/lib/${EXECUTABLE_TYPE}/python2.5 (for Python 2.5, 2.6, 2.7)
23 ==> (e.g. by setting the PYTHONPATH environment variable) and that the
24 ==> following directory containing dynamic libraries is in your dynamic
25 ==> library search path:
26 ==> ${MODINSTALL}/lib/${EXECUTABLE_TYPE}
27 ==> (e.g. by setting the LD_LIBRARY_PATH variable (LIBPATH on AIX systems).
28 ==> Ask your systems administrator for help if you wish to do this.
29 echo
30 ==> ########################################################################
31 ==> THE LICENSE KEY IS NOT SET.
32 ==> Go to http://salilab.org/modeller/registration.html to get a license key,
33 ==> and then set the 'license' variable to it in the file
34 ==> ${MODINSTALL}/modlib/modeller/config.py
35 ==> example: license = 'XXXX'
36 ==> ########################################################################
38 EOF
41 post_upgrade() {
42  post_install $1