Files
2023-06-28 09:22:05 +08:00

15 lines
408 B
Plaintext
Executable File

if [ "$BOOTSTRAP" ]; then
sed -i -e 's/ --static//' \
-e 's/ -static//' Makefile
make BINDIR=$TOOLS/bin MANDIR=$TOOLS/man ETCDIR=$TOOLS/etc install
else
make DESTDIR=$PKG install
rm \
$PKG/etc/pkgmk.conf \
$PKG/usr/share/man/man5/pkgmk.conf.5 \
$PKG/usr/share/man/man5/pkgfile.5 \
$PKG/usr/share/man/man8/pkgmk.8 \
$PKG/usr/bin/pkgmk
install -m755 $FILES/revdep $PKG/usr/bin/revdep
fi