Moved to new version scheme

This commit is contained in:
2017-05-22 17:12:51 -05:00
parent 1075d01c07
commit cb56dcdbcb

View File

@@ -13,13 +13,13 @@ ARCH = x86_64
URL = https://www.gnu.org/software/make/
DESC = GNU Make is a tool which controls the generation of executables \
and other non-source files of a program from the program\'s source files.
SNAPVER = sr1
SNAPVER = 2
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
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/^-//')-$(SNAPVER)
include /usr/share/snap/Makefile.snaplinux