25 lines
301 B
Bash
Executable File
25 lines
301 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PREREQ=""
|
|
|
|
prereqs()
|
|
{
|
|
echo "$PREREQ"
|
|
}
|
|
|
|
case $1 in
|
|
# get pre-requisites
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
# klibc
|
|
ln -s /usr/lib/klibc/bin/* ${DESTDIR}/bin
|
|
ln -s /lib/klibc-*.so ${DESTDIR}/lib
|
|
rm -f ${DESTDIR}/bin/kinit* ${DESTDIR}/bin/gzip \
|
|
${DESTDIR}/zcat ${DESTDIR}/gunzip
|
|
|
|
exit 0
|