1 # Maintainer: Jason St. John <jstjohn .. purdue . edu>
2 # Contributor: Mikhail Kulemin <mihkulemin@gmail.com>
3 # Contributor: Michael Pusterhofer <pusterhofer (at) student (dot) tugraz (dot) at>
9 pkgdesc="Virtual management infrastructure as a service (IaaS) tool for cloud computing (NOTE: Read the PKGBUILD!)"
10 arch=('i686' 'x86_64')
11 url="http://opennebula.org/"
12 license=('Apache 2.0')
13 depends=('ruby>=1.8.7' 'xmlrpc-c-abyss' 'openssl' 'sqlite3' 'openssh' 'libxml2' 'curl'
15 makedepends=('pkgconfig' 'scons')
16 optdepends=('nfs-utils: for using the shared file system storage model'
17 'mysql: optional replacement for SQLite as the DB back-end'
18 'libmysqlclient: required if using MySQL instead of SQLite')
19 install=(opennebula.install)
21 source=(http://dev.opennebula.org/attachments/download/478/opennebula-$_srcver.tar.gz
23 sha512sums=('0fa2feff23771e583f682e4e705e10793bb0479dbe2421410a1ff1ffd0d3f54de58db09722a02f4ca07acb42e1e175b19fb0b304f462a4a10ad9da8bf64dddd4'
24 'de18c9ad2eec30b90276618389f28b876566d514a484bf5d4d0cda84152b29fa7c9836114eff00176936fba609666034171d02d360df8c5b41db3caeb4efe7af')
27 cd "$srcdir/opennebula-$_srcver"
29 # Generating build system
32 # Uncomment this (and comment out the above section) to use MySQL instead of SQLite.
33 #scons mysql=yes || return 1
35 DESTDIR=$pkgdir ./install.sh || return 1
36 install -D -m755 "$srcdir"/oned "$pkgdir"/etc/rc.d/one
38 # Uncomment this if you plan on running the Sunstone web GUI on this server.
39 #gem install json rack sinatra thin
41 # Uncomment this if you plan on using OpenNebula Watch (for accounting and statistics).
42 # NOTE: OpenNebula 3.0.0 has a bug that requires patching! Read this link for instructions:
43 # http://opennebula.org/documentation:rel3.0:acctd_conf#considerations_limitations
44 #gem install json sequel sqlite3
48 # vim:set ts=2 sw=2 et: