2021-07-09 16:28:46 -04:00
|
|
|
#!/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"
|
2021-07-30 14:20:52 -04:00
|
|
|
|
2021-07-30 14:37:20 -04:00
|
|
|
printf '/bin/sh -e\n\nbsdtar xf "${1}"' > "$1/usr/bin/unzip"
|
2021-07-30 14:32:31 -04:00
|
|
|
chmod +x "$1/usr/bin/unzip"
|