Permalink
Browse files

improved installer, added proper versions of dependencies

  • Loading branch information...
1 parent 32fd08d commit 432cbd488e2cd3fa6aab642acc75fae96929d18c @mpapis mpapis committed Apr 16, 2012
Showing with 16 additions and 7 deletions.
  1. +1 −1 map
  2. +15 −6 shell/functions
View
@@ -1,2 +1,2 @@
-dependencies=tokaidoapp.install.dependencies()
+dependencies=tokaidoapp_install_dependencies()
View
@@ -1,6 +1,17 @@
#!/bin/sh
-tokaidoapp.install.dependencies()
+tokaido_install_package()
+{
+ typeset _lib
+ _lib=$1
+ includes ${_lib}
+ package is installed ${_lib} &&
+ log step "${_lib} already installed" true ||
+ package install name ${_lib} static
+ package reset
+}
+
+tokaidoapp_install_dependencies()
{
typeset _set _lib
@@ -9,11 +20,9 @@ tokaidoapp.install.dependencies()
set_install ${_set}
done
- for _lib in libyaml #openssl
- do
- includes ${_lib}
- package install name ${_lib} --disable-shared
- done
+ tokaido_install_package libyaml
+ tokaido_install_package zlib
+ tokaido_install_package openssl version 0.9.8t
}
tokaidoapp_prefetch()

0 comments on commit 432cbd4

Please sign in to comment.