how-lix-os-pkgs/libtool/default/inst.sh

11 lines
230 B
Bash
Executable File

#!/bin/sh
set -e
# doing it this way because otherwise the install script "rmdir"s /share
DESTDIR="${pkgdest:-/mnt/build}" make -j$(nproc) install
if [ ! "$pkgdest" ]; then
cp -r /mnt/build/* /
rsync -a /mnt/build/ /
fi