- Added new APKBUILD for deploying ruby-gems
This commit is contained in:
57
opennebula-rubygems/APKBUILD
Normal file
57
opennebula-rubygems/APKBUILD
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
# Contributor: Santic <email@santic-zombie.ru>
|
||||||
|
# Maintainer: Santic <email@santic-zombie.ru>
|
||||||
|
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"
|
||||||
|
}
|
||||||
@@ -9,15 +9,22 @@ arch="x86_64"
|
|||||||
options="!check"
|
options="!check"
|
||||||
license="Apache"
|
license="Apache"
|
||||||
depends="augeas
|
depends="augeas
|
||||||
|
augeas-libs
|
||||||
curl
|
curl
|
||||||
czmq
|
czmq
|
||||||
gnutls
|
gnutls
|
||||||
g++
|
g++
|
||||||
|
libcurl
|
||||||
|
libffi
|
||||||
|
libgcc
|
||||||
libvncserver
|
libvncserver
|
||||||
libnsl
|
libnsl
|
||||||
libpg_query
|
libpg_query
|
||||||
libpq
|
libpq
|
||||||
|
libssl1.1
|
||||||
|
libstdc++
|
||||||
libxml2
|
libxml2
|
||||||
|
libxslt
|
||||||
logrotate
|
logrotate
|
||||||
mariadb
|
mariadb
|
||||||
mariadb-client
|
mariadb-client
|
||||||
@@ -27,12 +34,14 @@ depends="augeas
|
|||||||
ruby
|
ruby
|
||||||
ruby-augeas
|
ruby-augeas
|
||||||
ruby-bundler
|
ruby-bundler
|
||||||
|
ruby-libs
|
||||||
ruby-nokogiri
|
ruby-nokogiri
|
||||||
ruby-pg
|
ruby-pg
|
||||||
ruby-rexml
|
ruby-rexml
|
||||||
ruby-xmlrpc
|
ruby-xmlrpc
|
||||||
shadow
|
shadow
|
||||||
sqlite
|
sqlite
|
||||||
|
sqlite-libs
|
||||||
sqlite-static
|
sqlite-static
|
||||||
xmlrpc-c"
|
xmlrpc-c"
|
||||||
makedepends="alpine-sdk
|
makedepends="alpine-sdk
|
||||||
|
|||||||
Reference in New Issue
Block a user