1 Commits

Author SHA1 Message Date
Jay Larson
caa1c58e5e Moved to new slp format 2020-08-16 16:42:55 -05:00
4 changed files with 13 additions and 10 deletions

View File

@@ -12,23 +12,24 @@ export SRCPKG = acl
export DEPENDS = glibc,libacl,libattr export DEPENDS = glibc,libacl,libattr
export ARCH = x86_64 export ARCH = x86_64
export URL = http://savannah.nongnu.org/projects/acl export URL = http://savannah.nongnu.org/projects/acl
REPO = main
BRIEF = Access control list tools BRIEF = Access control list tools
DESC = Commands for Manipulating POSIX Access Control Lists DESC = Commands for Manipulating POSIX Access Control Lists
SNAPVER = 8 SLVER = 9
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//') SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
PATCHDIR := $(PWD)/SRC/patches PATCHDIR := $(PWD)/SRC/patches
export VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'| \ export VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'| \
sed 's/^-//')-$(SNAPVER) sed 's/^-//')-$(SLVER)
LIBACL := $(PWD)/libacl LIBACL := $(PWD)/libacl
export LIBACLROOT := $(LIBACL)/ROOT export LIBACLROOT := $(LIBACL)/ROOT
LIBACLDEV := $(PWD)/libacl-dev LIBACLDEV := $(PWD)/libacl-dev
export LIBACLDEVROOT := $(LIBACLDEV)/ROOT export LIBACLDEVROOT := $(LIBACLDEV)/ROOT
include /usr/share/snap/Makefile.snaplinux include /usr/share/sl/Makefile.snaplinux
$(SRCDIR): $(ARCHIVE) $(SRCDIR): $(ARCHIVE)
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \ @if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
@@ -67,16 +68,16 @@ $(ROOT): $(SRCDIR)/chacl/.libs/chacl
else \ else \
mkdir -v $(ROOT); \ mkdir -v $(ROOT); \
fi fi
@install -v -d $(LIBACL)/SNAP && \ @install -v -d $(LIBACL)/SL && \
install -v -d $(LIBACLROOT) && \ install -v -d $(LIBACLROOT) && \
install -v -d $(LIBACLDEV)/SNAP && \ install -v -d $(LIBACLDEV)/SL && \
install -v -d $(LIBACLDEVROOT) && \ install -v -d $(LIBACLDEVROOT) && \
cd $(SRCDIR) && make install-lib DESTDIR=$(LIBACLROOT) && \ cd $(SRCDIR) && make install-lib DESTDIR=$(LIBACLROOT) && \
make install-dev DESTDIR=$(LIBACLDEVROOT) && \ make install-dev DESTDIR=$(LIBACLDEVROOT) && \
make install DESTDIR=$(ROOT) && \ make install DESTDIR=$(ROOT) && \
gzip $(ROOT)/usr/share/doc/*/COPYING* && \ gzip $(ROOT)/usr/share/doc/*/COPYING* && \
cd $(LIBACL) && make -f ../Makefile.libacl && mv *.snap ../ && \ cd $(LIBACL) && make -f ../Makefile.libacl && mv *.slp ../ && \
cd $(LIBACLDEV) && make -f ../Makefile.libacldev && mv *.snap ../ cd $(LIBACLDEV) && make -f ../Makefile.libacldev && mv *.slp ../
test: $(ROOT) test: $(ROOT)
@cd $(SRCDIR); \ @cd $(SRCDIR); \
@@ -86,7 +87,7 @@ clean:
@rm -rvf $(ROOT) \ @rm -rvf $(ROOT) \
$(LIBACL) \ $(LIBACL) \
$(LIBACLDEV) \ $(LIBACLDEV) \
$(SNAPINFO) \ $(SLINFO) \
$(MANIFEST) \ $(MANIFEST) \
$(FILES) \ $(FILES) \
$(SRCDIR) $(SRCDIR)

View File

@@ -9,7 +9,8 @@
# GNU General Public License for more details. # GNU General Public License for more details.
DEPENDS = glibc,libattr DEPENDS = glibc,libattr
REPO = core
BRIEF = Access control list shared library BRIEF = Access control list shared library
DESC = Shared library for manipulating POSIX Access Control Lists DESC = Shared library for manipulating POSIX Access Control Lists
include /usr/share/snap/Makefile.snaplinux include /usr/share/sl/Makefile.snaplinux

View File

@@ -9,7 +9,8 @@
# GNU General Public License for more details. # GNU General Public License for more details.
DEPENDS = glibc,libacl,libattr DEPENDS = glibc,libacl,libattr
REPO = dev
BRIEF = Access control list development library BRIEF = Access control list development library
DESC = Development library for manipulating POSIX Access Control Lists DESC = Development library for manipulating POSIX Access Control Lists
include /usr/share/snap/Makefile.snaplinux include /usr/share/sl/Makefile.snaplinux