aboutsummaryrefslogtreecommitdiff
path: root/extra/libarchive/build
blob: 6e30984cc90fe960e06e73ad92b854130efbe89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --without-nettle \
    --without-openssl \
    --without-xml2 \
    --without-expat

make
make DESTDIR="$1" install

ln -s bsdcat  "$1/usr/bin/cat"
ln -s bsdcpio "$1/usr/bin/cpio"
ln -s bsdtar  "$1/usr/bin/tar"