From 9528344c4f9439cebaced2473b2c91437a90b453 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Mon, 22 May 2017 17:05:18 -0500 Subject: [PATCH] Updated with new version scheme --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4d8e138..7cb2add 100644 --- a/Makefile +++ b/Makefile @@ -13,13 +13,13 @@ ARCH = x86_64 URL = http://www.multiprecision.org/ DESC = Gnu Mpc is a C library for the arithmetic of complex numbers with \ arbitrarily high precision and correct rounding of the result. -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