mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
37 lines
835 B
Bash
37 lines
835 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
USE_RUBY="ruby25 ruby26"
|
|
|
|
inherit ruby-single
|
|
|
|
DESCRIPTION="Web-based application for effective reporting writing"
|
|
HOMEPAGE="https://www.itdefence.asia"
|
|
|
|
LICENSE="none"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="+mysql"
|
|
|
|
#ruby_add_rdepend "dev-ruby/rake
|
|
|
|
RDEPEND="mysql? ( virtual/mysql )
|
|
dev-ruby/rake
|
|
dev-ruby/rails:5.2
|
|
dev-ruby/activerecord:5.2[mysql?]
|
|
dev-ruby/rack:2.0
|
|
dev-ruby/jquery-rails:4
|
|
dev-ruby/will_paginate
|
|
dev-ruby/ckeditor_rails
|
|
dev-ruby/activerecord-session_store
|
|
dev-ruby/similar_text
|
|
dev-ruby/sablon"
|
|
|
|
each_ruby_prepare() {
|
|
if [ -f Gemfile ]; then
|
|
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
|
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
|
fi
|
|
}
|