From 84b6fa7743b4dbbf9e12f28c122a68b6f6ed1407 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Sun, 23 Aug 2020 20:34:20 -0500 Subject: [PATCH] Moved to slp format --- Makefile | 13 ++++++++----- {SNAP => SL}/README | 0 2 files changed, 8 insertions(+), 5 deletions(-) rename {SNAP => SL}/README (100%) diff --git a/Makefile b/Makefile index 2a36726..e9d28d2 100644 --- a/Makefile +++ b/Makefile @@ -11,16 +11,19 @@ DEPENDS = glibc,libgcc,libstdc++ ARCH = x86_64 URL = https://www.gnu.org/software/gperf/ -DESC = GNU gperf is a perfect hash function generator. -SNAPVER = 1 +REPO = dev +BRIEF = GNU gperf is a perfect hash function generator. +DESC = This is GNU gperf. It is a program that generates perfect hash \ +functions for sets of key words. +SLVER = 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/^-//')-$(SLVER) -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux $(SRCDIR)/configure: $(ARCHIVE) @if [ '$(TYPE)' == 'application/x-bzip2' ]; then \ @@ -68,7 +71,7 @@ test: $(ROOT) clean: @rm -rvf $(ROOT) \ - $(SNAPINFO) \ + $(SLINFO) \ $(MANIFEST) \ $(FILES) \ $(SRCDIR) diff --git a/SNAP/README b/SL/README similarity index 100% rename from SNAP/README rename to SL/README