From 9a9f0f30b8e51f9f78df0e0464bb7026af63d85c Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Sun, 23 Aug 2020 08:47:01 -0500 Subject: [PATCH] Moved to slp format --- Makefile | 16 ++++++++-------- Makefile.db-dev | 2 +- Makefile.db-doc | 2 +- {SNAP => SL}/README | 0 4 files changed, 10 insertions(+), 10 deletions(-) rename {SNAP => SL}/README (100%) diff --git a/Makefile b/Makefile index 8bd30b9..5985ff0 100644 --- a/Makefile +++ b/Makefile @@ -17,16 +17,16 @@ REPO = main BRIEF = Berkeley DB database libraries DESC = Berkeley DB is a family of embedded key-value database libraries \ providing scalable high-performance data management services to applications. -SNAPVER = 2 +SLVER = 3 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) -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux DEV := $(PWD)/$(PACKAGE)-dev DEVROOT := $(DEV)/ROOT @@ -74,9 +74,9 @@ $(ROOT): $(SRCDIR)/build_unix/db_verify.o @cd $(SRCDIR)/build_unix && make docdir=/usr/share/doc/$(PACKAGE) \ install DESTDIR=$(ROOT) && \ - install -v -d $(DEV)/SNAP && \ + install -v -d $(DEV)/SL && \ install -v -d $(DEVROOT) && \ - install -v -d $(DOC)/SNAP && \ + install -v -d $(DOC)/SL && \ install -v -d -m 0755 $(DOCROOT)/usr/share && \ for file in `find $(ROOT)| \ egrep 'man3\/|pkgconfig\/|\.a$$|\.h$$|\.la$$|\.m4$$|\.pc$$'`; do \ @@ -86,14 +86,14 @@ $(ROOT): $(SRCDIR)/build_unix/db_verify.o done @mv -v $(ROOT)/usr/share/doc $(DOCROOT)/usr/share/doc && \ find $(ROOT) -type d -empty -delete && \ - cd $(DEV) && make -f ../Makefile.$(PACKAGE)-dev && mv *.snap ../ && \ - cd $(DOC) && make -f ../Makefile.$(PACKAGE)-doc && mv *.snap ../ + cd $(DEV) && make -f ../Makefile.$(PACKAGE)-dev && mv *.slp ../ && \ + cd $(DOC) && make -f ../Makefile.$(PACKAGE)-doc && mv *.slp ../ clean: @rm -rvf $(ROOT) \ $(DEV) \ $(DOC) \ - $(SNAPINFO) \ + $(SLINFO) \ $(MANIFEST) \ $(FILES) \ $(SRCDIR) diff --git a/Makefile.db-dev b/Makefile.db-dev index 8f7d3ad..fc7d0fc 100644 --- a/Makefile.db-dev +++ b/Makefile.db-dev @@ -13,4 +13,4 @@ REPO = dev BRIEF = Development files for db DESC = Development files for db -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux diff --git a/Makefile.db-doc b/Makefile.db-doc index 6eabb8d..b1e74b9 100644 --- a/Makefile.db-doc +++ b/Makefile.db-doc @@ -13,4 +13,4 @@ REPO = dev BRIEF = Documentation for db DESC = Documentation for db -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