From 5f36741a24d9f782142fb844de346002e3484dfc Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Sun, 23 Aug 2020 08:07:40 -0500 Subject: [PATCH] Moved to slp format --- Makefile | 11 ++++++----- {SNAP => SL}/README | 0 2 files changed, 6 insertions(+), 5 deletions(-) rename {SNAP => SL}/README (100%) diff --git a/Makefile b/Makefile index e5beab0..63e662d 100644 --- a/Makefile +++ b/Makefile @@ -8,20 +8,21 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -DEPENDS = +DEPENDS = glibc ARCH = x86_64 URL = http://www.gnu.org/software/cpio/ +REPO = main BRIEF = cpio archive utility DESC = GNU cpio copies files into or out of a cpio or tar archive. -SNAPVER = 1 +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 \ @@ -72,7 +73,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