#!/bin/sh -e ./configure \ --prefix=/usr \ --without-nettle \ --without-openssl \ --without-xml2 \ --without-bsdcat make make DESTDIR="$1" install for i in bsdcpio bsdtar; do new="$(printf "$i" | tail -c +4)" cp "$i" "$1/usr/bin/$new" cp "$new/$i.1" "$1/usr/share/man/man1/$new.1" done