Moved to slp format, also removed sysvinit dependency (unsure why it was there)
This commit is contained in:
14
Makefile
14
Makefile
@@ -9,20 +9,20 @@
|
||||
# GNU General Public License for more details.
|
||||
|
||||
ARCH = x86_64
|
||||
DEPENDS = dash,glibc,initscripts,sysvinit
|
||||
DEPENDS = dash,glibc,initscripts
|
||||
BUILDDEPS =
|
||||
URL = http://ftp.isc.org/isc/cron/
|
||||
REPO = main
|
||||
BRIEF = daemon to execute scheduled commands
|
||||
DESC = An implimentation of cron based on the SysV cron (aka Vixie cron)
|
||||
SNAPVER = 4
|
||||
SLVER = 5
|
||||
|
||||
ARCHIVE := $(PWD)/$(shell ls SRC/*.shar|tail -1)
|
||||
SRCDIR := cron-$(shell echo $(ARCHIVE)|egrep -o '[0-9]\.[0-9]')
|
||||
PATCHDIR := $(PWD)/SRC/patches
|
||||
VERSION := $(shell echo $(SRCDIR)|egrep -o '[0-9].*'|sed 's/^-//')-$(SNAPVER)
|
||||
VERSION := $(shell echo $(SRCDIR)|egrep -o '[0-9].*'|sed 's/^-//')-$(SLVER)
|
||||
|
||||
include /usr/share/snap/Makefile.snaplinux
|
||||
include /usr/share/sl/Makefile.snaplinux
|
||||
|
||||
$(SRCDIR)/Makefile: $(ARCHIVE)
|
||||
@install -v -d $(SRCDIR) ./ && \
|
||||
@@ -63,8 +63,8 @@ $(ROOT): $(SRCDIR)/cron
|
||||
install -v -m 644 crontab.1 $(ROOT)/usr/share/man/man1/crontab.1 && \
|
||||
install -v -m 644 crontab.5 $(ROOT)/usr/share/man/man5/crontab.5 && \
|
||||
install -v -m 644 cron.8 $(ROOT)/usr/share/man/man8/cron.8 && \
|
||||
install -v -m 755 $(SNAPDIR)/cron.init $(ROOT)/etc/init.d/cron && \
|
||||
install -v -m 755 $(SNAPDIR)/runall $(ROOT)/bin
|
||||
install -v -m 755 $(SLDIR)/cron.init $(ROOT)/etc/init.d/cron && \
|
||||
install -v -m 755 $(SLDIR)/runall $(ROOT)/bin
|
||||
|
||||
test: $(ROOT)
|
||||
@cd $(SRCDIR); \
|
||||
@@ -72,7 +72,7 @@ test: $(ROOT)
|
||||
|
||||
clean:
|
||||
@rm -rvf $(ROOT) \
|
||||
$(SNAPINFO) \
|
||||
$(SLINFO) \
|
||||
$(MANIFEST) \
|
||||
$(FILES) \
|
||||
$(CONFIG) \
|
||||
|
||||
Reference in New Issue
Block a user