diff --git a/Makefile b/Makefile index ee7aa2b..c97e7c4 100644 --- a/Makefile +++ b/Makefile @@ -11,14 +11,15 @@ DEPENDS = glibc,ncurses,readline ARCH = x86_64 URL = https://www.gnu.org/software/inetutils/ +BRIEF = Network programs DESC = Inetutils is a collection of common network programs. -SNAPVER = sr4 +SNAPVER = 5 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