mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-21 19:46:19 +00:00
e17ba66e5c
Anacron has received no development in 15+ years. It's functionality is also being provided by both `cronie` and `busybox`'s crond.
33 lines
765 B
Diff
33 lines
765 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -20,15 +20,15 @@
|
|
|
|
|
|
PREFIX =
|
|
-BINDIR = $(PREFIX)/usr/sbin
|
|
-MANDIR = $(PREFIX)/usr/man
|
|
-CFLAGS = -Wall -pedantic -O2
|
|
+BINDIR = $(PREFIX)/bin
|
|
+MANDIR = $(PREFIX)/share/man
|
|
+CFLAGS ?= -Wall -pedantic -O2
|
|
#CFLAGS = -Wall -O2 -g -DDEBUG
|
|
|
|
# If you change these, please update the man-pages too
|
|
# Only absolute paths here, please
|
|
-SPOOLDIR = /var/spool/anacron
|
|
-ANACRONTAB = /etc/anacrontab
|
|
+SPOOLDIR = @TERMUX_PREFIX@/var/spool/anacron
|
|
+ANACRONTAB = @TERMUX_PREFIX@/etc/anacrontab
|
|
|
|
RELEASE = 2.3
|
|
package_name = anacron-$(RELEASE)
|
|
@@ -64,7 +64,7 @@
|
|
|
|
.PHONY: installdirs
|
|
installdirs:
|
|
- $(INSTALL_DIR) $(BINDIR) $(PREFIX)$(SPOOLDIR) \
|
|
+ $(INSTALL_DIR) $(BINDIR) $(SPOOLDIR) \
|
|
$(MANDIR)/man5 $(MANDIR)/man8
|
|
|
|
.PHONY: install
|