mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
okay, so those yucky hacks didn't actually all work
This commit is contained in:
parent
7ae24ee861
commit
1d74834fcd
4 changed files with 4 additions and 10 deletions
|
|
@ -328,7 +328,6 @@ all_ruby_prepare() {
|
|||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
addpredict "$(ruby_fakegem_gemsdir)/bundler.lock"
|
||||
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ RDEPEND="${DEPEND}
|
|||
|
||||
S="${WORKDIR}/WhatWeb-${PV}"
|
||||
|
||||
all_ruby_prepare() {
|
||||
src_prepare() {
|
||||
# fix installation
|
||||
sed -i '/gzip/d' Makefile || die
|
||||
# sed -i 's|plugins-disabled||g' Makefile || die
|
||||
|
|
@ -37,22 +37,19 @@ all_ruby_prepare() {
|
|||
sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
|
||||
sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
if [ -f Gemfile ]; then
|
||||
addpredict "$(ruby_fakegem_gemsdir)/bundler.lock"
|
||||
BUNDLE_GEMFILE=Gemfile ruby -S bundle install --local || die
|
||||
BUNDLE_GEMFILE=Gemfile ruby -S bundle check || die
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "Nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
all_ruby_install() {
|
||||
dodir /usr/share/doc/"${PF}"
|
||||
dodir /usr/bin
|
||||
DESTDIR="${D}" emake install
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ all_ruby_prepare() {
|
|||
each_ruby_prepare() {
|
||||
if [ -f Gemfile ]
|
||||
then
|
||||
addpredict "$(ruby_fakegem_gemsdir)/bundler.lock"
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ all_ruby_prepare() {
|
|||
each_ruby_prepare() {
|
||||
if [ -f Gemfile ]
|
||||
then
|
||||
addpredict "$(ruby_fakegem_gemsdir)/bundler.lock"
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue