From 26ff0b7e798fb3176da9abc066db4d08e1374a0a Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Fri, 21 Aug 2020 14:02:52 -0500 Subject: [PATCH] Moved to slp format --- Makefile | 13 +++++++------ Makefile.readline-dev | 3 ++- {SNAP => SL}/README | 0 3 files changed, 9 insertions(+), 7 deletions(-) rename {SNAP => SL}/README (100%) diff --git a/Makefile b/Makefile index 8b50d4d..f37e1c0 100644 --- a/Makefile +++ b/Makefile @@ -12,22 +12,23 @@ export SRCPKG = readline export DEPENDS = glibc,ncurses export ARCH = x86_64 export URL = http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html +REPO = core BRIEF = Library which enhances the CLI DESC = The GNU Readline library provides a set of functions for use by \ applications that allow users to edit command lines as they are typed in. -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)/readline-dev DEVROOT := $(DEV)/ROOT -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux $(SRCDIR)/configure: $(ARCHIVE) @if [ '$(TYPE)' == 'application/x-bzip2' ]; then \ @@ -75,7 +76,7 @@ $(ROOT): $(SRCDIR)/shlib/libhistory.so.$(VERSION) $(ROOT)/usr/lib/libhistory.so && \ rm -v $(ROOT)/usr/share/info/dir - @install -v -d $(DEV)/SNAP && \ + @install -v -d $(DEV)/SL && \ install -v -d $(DEVROOT) && \ install -v -d -m 755 $(DEVROOT)/usr/share/doc/readline && \ for file in `find $(ROOT)|egrep 'man3\/|\.a$$|\.c$$|\.h$$'`; do \ @@ -86,12 +87,12 @@ $(ROOT): $(SRCDIR)/shlib/libhistory.so.$(VERSION) install -v -m 644 $(SRCDIR)/doc/*.{ps,pdf,html,dvi} \ $(DEVROOT)/usr/share/doc/readline && \ find $(ROOT) -type d -empty -delete && \ - cd $(DEV) && make -f ../Makefile.readline-dev && mv *.snap ../ + cd $(DEV) && make -f ../Makefile.readline-dev && mv *.slp ../ clean: @rm -rvf $(ROOT) \ $(DEV) \ - $(SNAPINFO) \ + $(SLINFO) \ $(MANIFEST) \ $(FILES) \ $(SRCDIR) diff --git a/Makefile.readline-dev b/Makefile.readline-dev index 6c3616c..0e311a4 100644 --- a/Makefile.readline-dev +++ b/Makefile.readline-dev @@ -9,7 +9,8 @@ # GNU General Public License for more details. DEPENDS = readline +REPO = dev BRIEF = Development files for readline DESC = Development files for readline -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