]> git.armaanb.net Git - asd-repo.git/blob - core/libarchive/build
libarchive: new package at 3.5.1
[asd-repo.git] / core / libarchive / build
1 #!/bin/sh -e
2
3 ./configure \
4     --prefix=/usr \
5     --without-nettle \
6     --without-openssl \
7     --without-xml2 \
8     --without-bsdcat
9
10 make
11 make DESTDIR="$1" install
12
13 for i in bsdcpio bsdtar; do
14     new="$(printf "$i" | tail -c +4)"
15     cp "$i"          "$1/usr/bin/$new"
16     cp "$new/$i.1" "$1/usr/share/man/man1/$new.1"
17 done