| git.druid.rocks | index | druid520 | ports | ports/ | build-tools/ | ltrace/ | add.sh |
ports/build-tools/ltrace/add.sh
set -e
git clone https://gitlab.com/cespedes/ltrace.git
cd ltrace
# libtoolize can deposit ltmain.sh one directory UP from the checkout
# here (an mp staging quirk: the checkout dir shares its parent's name,
# which seems to confuse libtoolize's aux-dir heuristic), while automake
# looks for it at ./ltmain.sh, failing outright -- copying it into place
# first works around it.
autoreconf -fi || { cp ../ltmain.sh . 2>/dev/null && autoreconf -fi; }
./configure --prefix=$MP_PREFIX
make -j$MP_JOBS
make install
make clean || true