diff --git a/Makefile b/Makefile index f4dd55c..31e830b 100644 --- a/Makefile +++ b/Makefile @@ -11,16 +11,17 @@ DEPENDS = tzdata ARCH = x86_64 URL = https://www.gnu.org/software/libc/ +BRIEF = The GNU C Library DESC = The GNU C Library is used as the C library in the GNU system and in \ GNU/Linux systems, as well as many other systems that use Linux as the kernel. -SNAPVER = sr2 +SNAPVER = 3 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 BUILDDIR := $(PWD)/BUILD -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