| git.druid.rocks | index | druid520 | ports | ports/ | multimedia/ | sox/ | add.sh |
ports/multimedia/sox/add.sh
set -e
git clone https://codeberg.org/sox_ng/sox_ng.git sox
cd sox
# 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