From b4db9cae7e33d320d83b3d7c83a591b43763c9fb Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Wed, 26 Aug 2020 16:22:32 -0500 Subject: [PATCH] Moved to slp format --- Makefile | 13 +++++++------ Makefile.mpfr-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 2f65015..64b6df1 100644 --- a/Makefile +++ b/Makefile @@ -12,22 +12,23 @@ export SRCPKG = mpfr export DEPENDS = glibc,gmp export ARCH = x86_64 export URL = http://www.mpfr.org/ +REPO = main BRIEF = C library with improved mathematical precision DESC = The MPFR library is a C library for multiple-precision floating-point \ computations with correct rounding. -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)/mpfr-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 \ @@ -72,7 +73,7 @@ $(ROOT): $(SRCDIR)/src/grandom.o make install-html DESTDIR=$(ROOT) && \ 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 && \ for file in `find $(ROOT)|egrep 'man3\/|\.a$$|\.h$$'`; do \ @@ -82,7 +83,7 @@ $(ROOT): $(SRCDIR)/src/grandom.o done && \ mv -v $(ROOT)/usr/share/doc $(DEVROOT)/usr/share/doc && \ find $(ROOT) -type d -empty -delete && \ - cd $(DEV) && make -f ../Makefile.mpfr-dev && mv *.snap ../ + cd $(DEV) && make -f ../Makefile.mpfr-dev && mv *.slp ../ test: $(ROOT) @cd $(SRCDIR) && make check @@ -90,7 +91,7 @@ test: $(ROOT) clean: @rm -rvf $(ROOT) \ $(DEV) \ - $(SNAPINFO) \ + $(SLINFO) \ $(MANIFEST) \ $(FILES) \ $(SRCDIR) diff --git a/Makefile.mpfr-dev b/Makefile.mpfr-dev index c547ac6..8dd7749 100644 --- a/Makefile.mpfr-dev +++ b/Makefile.mpfr-dev @@ -9,7 +9,8 @@ # GNU General Public License for more details. DEPENDS = mpfr +REPO = dev BRIEF = Development files for mpfr DESC = Development files for mpfr -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