repo/hummingbird/Makefile

22 lines
1 KiB
Makefile
Raw Normal View History

prepare:
git clone https://github.com/Sweets/hummingbird hummingbird
cd hummingbird
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/fs
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/interlude
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/shutdown
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/tty
make:
make
install:
make install DESTDIR="${PREFIX}"
mv fs ${PREFIX}/usr/bin/hummingbird/
mv interlude ${PREFIX}/usr/bin/hummingbird/
mv shutdown ${PREFIX}/usr/bin/hummingbird/
mv tty ${PREFIX}/usr/bin/hummingbird/
chmod +x ${PREFIX}/usr/bin/hummingbird/*
uninstall:
@echo "pkgmsg: hummingbird does not have a proper uninstall script"
# we would need to rm -rf ${PREFIX}/usr/lib/hummingbird
# and rm $(INSTALL) hummingbird "$(DESTDIR)/usr/bin/hummingbird" "$(DESTDIR)/usr/bin/shutdown" "$(DESTDIR)/usr/bin/reboot"