You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
925 B
58 lines
925 B
2 years ago
|
# 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"
|
||
|
}
|