Corrected version

This commit is contained in:
2020-08-21 09:02:31 -05:00
parent f19b128099
commit bf59bedc0c

View File

@@ -14,13 +14,13 @@ URL = https://www.gnu.org/software/m4/
REPO = dev REPO = dev
BRIEF = macro processor BRIEF = macro processor
DESC = GNU M4 is an implementation of the traditional Unix macro processor. DESC = GNU M4 is an implementation of the traditional Unix macro processor.
SLVER = 1 SLVER = 2
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//') SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
PATCHDIR := $(PWD)/SRC/patches PATCHDIR := $(PWD)/SRC/patches
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')$(SLVER) VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SLVER)
include /usr/share/sl/Makefile.snaplinux include /usr/share/sl/Makefile.snaplinux