19 lines
339 B
Bash
Executable File
19 lines
339 B
Bash
Executable File
#!/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"
|
|
|
|
printf 'bsdtar xf "${1}"' > "$1/usr/bin/unzip"
|
|
chmod +x "$1/usr/bin/unzip"
|