# asciidoctor/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: ocgitfetch --run https://github.com/asciidoctor/asciidoctor.git #--------------------------------------------------------------------- 2. The full set of dependencies that this package requires is uncon- firmed. #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] configure = none license = See "license*.txt" in installed tree licfile = LICENSE tmpsize = 25M licprefix = $PRODTREE/ruby30 #--------------------------------------------------------------------- [depends] rake ruby30:strict rvm #--------------------------------------------------------------------- [build] #--------------------------------------------------------------------- # Skip optional dependencies that may not be built yet. ADDEXTRAS=$ADDEXTRAS if [ "@$ADDEXTRAS" == "@" ]; then sed -e "/add_development_dependency/d" -i *.gemspec fi #--------------------------------------------------------------------- echo gemspec > Gemfile rm -fr Gemfile.lock ; bundle package gem build *.gemspec || true; gem build *.gemspec gem-install-local *.gem gem-cache-index #--------------------------------------------------------------------- BINDIR=$PKGDIR_PROD/bin mkdir -p $BINDIR ln -nsf `find $PRODTREE/ruby30/lib/ \ -type f -name asciidoctor | \ grep -v '/gems/.*/gems/ | head -1'` \ $BINDIR/ $BINDIR/asciidoctor --version #--------------------------------------------------------------------- # 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] 230211 Added package. Started with 40bc23cbc ("git" hash).