mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
38 lines
838 B
Bash
38 lines
838 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
USE_RUBY="ruby25"
|
|
|
|
inherit ruby-ng
|
|
|
|
DESCRIPTION="Web-based application for effective reporting writing"
|
|
HOMEPAGE="https://www.itdefence.asia"
|
|
|
|
LICENSE="none"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="+mysql"
|
|
|
|
RDEPEND="mysql? ( virtual/mysql )"
|
|
|
|
ruby_add_rdepend "dev-ruby/rake
|
|
dev-ruby/rails:5.2
|
|
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
|
|
mysql? ( dev-ruby/mysql2:0.5 )"
|
|
|
|
#dev-ruby/activerecord[mysql?]
|
|
|
|
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
|
|
}
|