- 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"
 | 
			
		||||
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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user