mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-03-20 00:13:27 +00:00
updated
This commit is contained in:
16
Makefile
Normal file
16
Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
NAME = scratchpkg
|
||||
MAIN = scratch buildpkg installpkg removepkg
|
||||
CONF = $(NAME).conf
|
||||
BINDIR = /usr/bin
|
||||
FUNCDIR = /usr/share/$(NAME)
|
||||
PORTDIR = /etc/ports
|
||||
CONFDIR = /etc
|
||||
|
||||
install:
|
||||
install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(PORTDIR) $(DESTDIR)$(FUNCDIR)
|
||||
install -m755 $(MAIN) extra/* $(DESTDIR)$(BINDIR)
|
||||
install -m644 functions/* $(DESTDIR)$(FUNCDIR)
|
||||
install -m644 ports/* $(DESTDIR)$(PORTDIR)
|
||||
install -m644 $(CONF) $(DESTDIR)$(CONFDIR)
|
||||
|
||||
.PHONY: install
|
||||
Reference in New Issue
Block a user