# ruby-compiler-dock/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. The source tarball used by this  package was created based on "git"
upstream sources. The following command was used:

      ocgitfetch --run \
https://github.com/rake-compiler/rake-compiler-dock.git

#---------------------------------------------------------------------

[buildtimes]

00.00 hours (or 000.10 minutes) - ThinkPad E540 i7 4x2 16GB RAM

#---------------------------------------------------------------------

[settings]
configure = none
license   = See "license*.txt" in installed tree
licfile   = LICENSE.txt
licprefix = $PRODTREE/ruby30
proddir   = none
tmpsize   = 1M
unpack    = relaxed

#---------------------------------------------------------------------

[depends]
rake-compiler
ruby30:strict

#---------------------------------------------------------------------

[build]

#---------------------------------------------------------------------

ADDEXTRAS=$ADDEXTRAS
if    [ "@$ADDEXTRAS" == "@" ]; then
sed -e '/dependency.*test-unit/d' \
    -i *.gemspec
fi

sed -e 's@\(dependency "bundler"\).*@\1@' \
    -e 's@\(dependency "rake"\).*@\1@' \
    -i *.gemspec

#---------------------------------------------------------------------

echo gemspec > Gemfile
rm -fr Gemfile.lock
rm -fr Gemfile.lock ; bundle package
gem build *.gemspec || true; gem build *.gemspec
gem-install-local *.gem
gem-cache-index

#---------------------------------------------------------------------

# Original URLs. These URLs were valid at one point, but may have died
# since then. If you download newer versions of tarballs [etc.], don't
# delete  the  original versions,  as you may not  be able  to replace
# them.

[urls]
url_debian  = tbd
url_home    = tbd
url_lfs     = tbd
url_tarball = git           # See "technotes" in "cfg" file

#---------------------------------------------------------------------

[history]
181115 Added package. Started with 242f14862 ("git" hash)
191009 Updated to 6257621ff
201224 Updated to 8b222bd45
210227 Updated to b25db8440
220821 Updated to e59bf11b8