The following changes were made to Makefile:

* Added BRIEF
  * Moved to new version scheme
This commit is contained in:
2017-02-21 18:58:18 -06:00
parent 8f8cd148f0
commit 5a9c7ae340

View File

@@ -11,16 +11,17 @@
DEPENDS = dhclient,glibc DEPENDS = dhclient,glibc
ARCH = x86_64 ARCH = x86_64
URL = https://packages.qa.debian.org/i/ifupdown.html URL = https://packages.qa.debian.org/i/ifupdown.html
BRIEF = Network utilities
DESC = ifupdown is a set of utilities to assist with basic interface \ DESC = ifupdown is a set of utilities to assist with basic interface \
manipulation. manipulation.
SNAPVER = sr1 SNAPVER = 2
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -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') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//') SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
PATCHDIR := $(PWD)/SRC/patches PATCHDIR := $(PWD)/SRC/patches
VERSION := $(shell echo $(ARCHIVE)|egrep -o '\_[0-9].*'| \ VERSION := $(shell echo $(ARCHIVE)|egrep -o '\_[0-9].*'| \
sed 's/^_//'|sed 's/\.tar.*//')$(SNAPVER) sed 's/^_//'|sed 's/\.tar.*//')-$(SNAPVER)
include /usr/share/snap/Makefile.snaplinux include /usr/share/snap/Makefile.snaplinux