From f2e81089c2f1abda1f83060d909c29a5cfde0818 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Sun, 16 Aug 2020 17:21:48 -0500 Subject: [PATCH] Moved to new slp format --- Makefile | 16 ++++++++-------- Makefile.libattr | 2 +- Makefile.libattr-dev | 2 +- {SNAP => SL}/README | 0 4 files changed, 10 insertions(+), 10 deletions(-) rename {SNAP => SL}/README (100%) diff --git a/Makefile b/Makefile index 8493678..c013491 100644 --- a/Makefile +++ b/Makefile @@ -15,33 +15,33 @@ export URL = http://savannah.nongnu.org/projects/attr REPO = main BRIEF = Filesystem extended attributes utilities DESC = Commands for Manipulating Filesystem Extended Attributes -SNAPVER = 4 +SLVER = 5 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 export VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'| \ - sed 's/^-//')-$(SNAPVER) + sed 's/^-//')-$(SLVER) DEV := $(PWD)/libattr-dev DEVROOT := $(DEV)/ROOT LIB := $(PWD)/libattr LIBROOT := $(LIB)/ROOT -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux $(LIBROOT): $(DEVROOT) - @install -v -d $(LIB)/SNAP $(LIBROOT) && \ + @install -v -d $(LIB)/SL $(LIBROOT) && \ cd $(SRCDIR) && make install-lib DESTDIR=$(LIBROOT) && \ rm -vrf $(LIBROOT)/bin $(LIBROOT)/usr/share/locale \ $(LIBROOT)/usr/share/man && \ - cd $(LIB) && make -f ../Makefile.libattr && mv *.snap ../ + cd $(LIB) && make -f ../Makefile.libattr && mv *.slp ../ $(DEVROOT): $(ROOT) - @install -v -d $(DEV)/SNAP $(DEVROOT) && \ + @install -v -d $(DEV)/SL $(DEVROOT) && \ cd $(SRCDIR) && make install-dev DESTDIR=$(DEVROOT) && \ - cd $(DEV) && make -f ../Makefile.libattr-dev && mv *.snap ../ + cd $(DEV) && make -f ../Makefile.libattr-dev && mv *.slp ../ $(SRCDIR): $(ARCHIVE) @if [ '$(TYPE)' == 'application/x-bzip2' ]; then \ @@ -91,7 +91,7 @@ clean: @rm -rvf $(ROOT) \ $(DEV) \ $(LIB) \ - $(SNAPINFO) \ + $(SLINFO) \ $(MANIFEST) \ $(FILES) \ $(SRCDIR) diff --git a/Makefile.libattr b/Makefile.libattr index bd76b73..7a2aa9d 100644 --- a/Makefile.libattr +++ b/Makefile.libattr @@ -13,4 +13,4 @@ REPO = core BRIEF = Access control list shared library DESC = Shared library for manipulating POSIX Access Control Lists -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux diff --git a/Makefile.libattr-dev b/Makefile.libattr-dev index 81ddb40..91cedb0 100644 --- a/Makefile.libattr-dev +++ b/Makefile.libattr-dev @@ -13,4 +13,4 @@ REPO = dev BRIEF = Access control list shared library DESC = Shared library for manipulating POSIX Access Control Lists -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux diff --git a/SNAP/README b/SL/README similarity index 100% rename from SNAP/README rename to SL/README