The following changes were made to Makefile:
* added BRIEF * moved to new version scheme
This commit is contained in:
5
Makefile
5
Makefile
@@ -11,14 +11,15 @@
|
||||
DEPENDS = glibc
|
||||
ARCH = x86_64
|
||||
URL = http://www.zlib.net/
|
||||
BRIEF = Compression library
|
||||
DESC = A Massively Spiffy Yet Delicately Unobtrusive Compression Library
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user