The following changes were made to Makefile:
* added BRIEF * moved to new version scheme * removed test since it doesn't have one
This commit is contained in:
9
Makefile
9
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) \
|
||||
|
||||
Reference in New Issue
Block a user