From ea767638d04cc1ea064b2db59db7d3de2b9dd7d7 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Sun, 23 Aug 2020 20:58:45 -0500 Subject: [PATCH] Moved to slp format --- Makefile | 18 +++++++++--------- Makefile.eudev-dev | 3 ++- {SNAP => SL}/README | 0 {SNAP => SL}/udevd.init | 0 {SNAP => SL}/usher | 0 5 files changed, 11 insertions(+), 10 deletions(-) rename {SNAP => SL}/README (100%) rename {SNAP => SL}/udevd.init (100%) rename {SNAP => SL}/usher (100%) diff --git a/Makefile b/Makefile index 3f1452b..198679e 100644 --- a/Makefile +++ b/Makefile @@ -9,26 +9,26 @@ # GNU General Public License for more details. export SRCPKG = eudev -export DEPENDS = glibc,initscripts,kmod,mkinitramfs,util-linux +export DEPENDS = dash,glibc,initscripts,kmod,mkinitramfs,util-linux export ARCH = x86_64 export URL = http://www.gentoo.org/proj/en/eudev/ -export REPO = core +REPO = core BRIEF = Fork of udev DESC = eudev is a fork of system-udev with the goal of obtaining better \ compatibility with existing software -SNAPVER = 3 +SLVER = 4 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)/eudev-dev DEVROOT := $(DEV)/ROOT -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux $(SRCDIR): $(ARCHIVE) @if [ '$(TYPE)' == 'application/x-bzip2' ]; then \ @@ -80,16 +80,16 @@ $(ROOT): $(SRCDIR)/src/udev/udevd @cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \ install -v -d -m 755 $(ROOT)/etc/init.d && \ - install -v -m 755 $(PWD)/SNAP/udevd.init $(ROOT)/etc/init.d/udevd && \ + install -v -m 755 $(PWD)/SL/udevd.init $(ROOT)/etc/init.d/udevd && \ mv -v $(ROOT)/etc/udev/udev.conf $(CONFIGDIR)/etc/udev && \ - install -v -d $(DEV)/SNAP $(DEVROOT) && \ + install -v -d $(DEV)/SL $(DEVROOT) && \ for file in `find $(ROOT)|egrep 'pkgconfig\/|\.(a|h|la)$$'`; do \ path=`dirname $$file|sed "s[$(ROOT)[$(DEVROOT)["`; \ mkdir -p $$path; \ mv $$file $$path; \ done && \ find $(ROOT) -type d -empty -delete && \ - cd $(DEV) && make -f ../Makefile.eudev-dev && mv *.snap ../ + cd $(DEV) && make -f ../Makefile.eudev-dev && mv *.slp ../ test: $(ROOT) @@ -100,7 +100,7 @@ clean: @rm -rvf $(ROOT) \ $(DEV) \ $(CONFIG) \ - $(SNAPINFO) \ + $(SLINFO) \ $(MANIFEST) \ $(FILES) \ $(SRCDIR) diff --git a/Makefile.eudev-dev b/Makefile.eudev-dev index c8b4d84..abf4a25 100644 --- a/Makefile.eudev-dev +++ b/Makefile.eudev-dev @@ -9,7 +9,8 @@ # GNU General Public License for more details. DEPENDS = eudev +REPO = dev BRIEF = Development files for eudev DESC = Development files for eudev -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 diff --git a/SNAP/udevd.init b/SL/udevd.init similarity index 100% rename from SNAP/udevd.init rename to SL/udevd.init diff --git a/SNAP/usher b/SL/usher similarity index 100% rename from SNAP/usher rename to SL/usher