From f46253c8e51bcc07b7bbca1dc274d289b3cbc461 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Tue, 28 Mar 2017 15:58:53 -0500 Subject: [PATCH] The following changes were made to Makefile: * added BRIEF * moved to new version scheme * removed test since it doesn't have one --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 5828171..475d326 100644 --- a/Makefile +++ b/Makefile @@ -11,15 +11,16 @@ DEPENDS = glibc ARCH = x86_64 URL = https://sourceforge.net/projects/net-tools/ +BRIEF = Linux networking tools DESC = A collection of programs that form the base set of the NET-3 \ networking distribution for the Linux operating system. -SNAPVER = sr0 +SNAPVER = 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') 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 @@ -54,10 +55,6 @@ $(ROOT): $(SRCDIR)/ifconfig @cd $(SRCDIR) && make install DESTDIR=$(ROOT) -test: $(ROOT) - @cd $(SRCDIR); \ - make check - clean: @rm -rvf $(ROOT) \ $(SNAPINFO) \