2 Commits

Author SHA1 Message Date
Jay Larson
723016daa5 Corrected version 2020-08-24 18:53:40 -05:00
Jay Larson
79f855862b Moved to slp format 2020-08-24 18:50:29 -05:00
2 changed files with 4 additions and 4 deletions

View File

@@ -15,15 +15,15 @@ REPO = main
BRIEF = run a command while making it believe it is running as root
DESC = fakeroot-ng uses the debug interface (PTRACE) to fool programs \
into thinking they are running with root permission.
SNAPVER = 1
SLVER = 2
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
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SNAPVER)
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SLVER)
include /usr/share/snap/Makefile.snaplinux
include /usr/share/sl/Makefile.snaplinux
$(SRCDIR)/configure: $(ARCHIVE)
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
@@ -74,7 +74,7 @@ test: $(ROOT)
clean:
@rm -rvf $(ROOT) \
$(SNAPINFO) \
$(SLINFO) \
$(MANIFEST) \
$(FILES) \
$(SRCDIR)