diff --git a/opennebula-rubygems/APKBUILD b/opennebula-rubygems/APKBUILD new file mode 100644 index 0000000..c11b658 --- /dev/null +++ b/opennebula-rubygems/APKBUILD @@ -0,0 +1,57 @@ +# Contributor: Santic +# Maintainer: Santic +pkgname=opennebula-rubygems +pkgver=6.4.0 +pkgrel=1 +pkgdesc="Ruby dependencies for OpenNebula (Community Edition)" +url="https://opennebula.io/" +arch="x86_64" +options="!check" +license="Apache" +depends="augeas + augeas-libs + libcurl + libffi + libgcc + libpq + libssl1.1 + libstdc++ + libxslt + opennebula + ruby + ruby-augeas + ruby-libs + ruby-pg + ruby-rake + sqlite-libs + libxml2" +makedepends="augeas-dev + curl-dev + g++ + gcc + libffi-dev + libpq-dev + libxml2-dev + libxslt-dev + make + mariadb-dev + openssl-dev + patch + ruby-dev + sqlite-dev + sudo" + +source="" + +builddir="$srcdir/" + +build() { + cd "opennebula-rubygems-${pkgver}" + bundle config set --local path "$srcdir/gems" + bundle install --gemfile /usr/share/one/Gemfile +} + +package() { + cd "opennebula-rubygems-${pkgver}" + install -D -m755 "${srcdir}/opennebula" "${pkgdir}/etc/init.d/opennebula" +} diff --git a/opennebula/APKBUILD b/opennebula/APKBUILD index 4e52b89..e2ef012 100644 --- a/opennebula/APKBUILD +++ b/opennebula/APKBUILD @@ -9,15 +9,22 @@ arch="x86_64" options="!check" license="Apache" depends="augeas + augeas-libs curl czmq gnutls g++ + libcurl + libffi + libgcc libvncserver libnsl libpg_query libpq + libssl1.1 + libstdc++ libxml2 + libxslt logrotate mariadb mariadb-client @@ -27,12 +34,14 @@ depends="augeas ruby ruby-augeas ruby-bundler + ruby-libs ruby-nokogiri ruby-pg ruby-rexml ruby-xmlrpc shadow sqlite + sqlite-libs sqlite-static xmlrpc-c" makedepends="alpine-sdk