The following changes were made to Makefile:

* Added BRIEF
  * Moved to new version scheme
  * Added source tarball
This commit is contained in:
2017-02-21 18:24:48 -06:00
parent 22a24168d6
commit f869994867
2 changed files with 2 additions and 2 deletions

View File

@@ -12,13 +12,13 @@ DEPENDS = glibc,grep,util-linux,xz,zfs,zlib
ARCH = x86_64
URL = http://www.gnu.org/software/grub/
DESC = GNU GRUB is a Multiboot boot loader.
SNAPVER = sr1
SNAPVER = 2
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