4 Commits

Author SHA1 Message Date
Jay Larson
caa1c58e5e Moved to new slp format 2020-08-16 16:42:55 -05:00
Jay Larson
4a6b73a649 Corrected dependencies (libattr rather than attr) 2017-04-05 09:33:17 -05:00
Jay Larson
fc1761d107 Removed unused Makefile targets and added gzip of some docs 2017-01-22 11:47:30 -06:00
Jay Larson
c406470a7b Tweaked build process to gzip man pages and also corrected dependency from attr to libattr 2017-01-22 11:24:39 -06:00
4 changed files with 17 additions and 24 deletions

View File

@@ -9,38 +9,27 @@
# GNU General Public License for more details.
export SRCPKG = acl
export DEPENDS = attr,glibc,libacl
export DEPENDS = glibc,libacl,libattr
export ARCH = x86_64
export URL = http://savannah.nongnu.org/projects/acl
REPO = main
BRIEF = Access control list tools
DESC = Commands for Manipulating POSIX Access Control Lists
SNAPVER = 5
SLVER = 9
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)
LIBACL := $(PWD)/libacl
export LIBACLROOT := $(LIBACL)/ROOT
LIBACLDEV := $(PWD)/libacl-dev
export LIBACLDEVROOT := $(LIBACLDEV)/ROOT
include /usr/share/snap/Makefile.snaplinux
$(LIBACLROOT): $(ROOT)
@install -v -d $(LIBACL)/SNAP && \
install -v -d $(LIBACLROOT)
@cd $(SRCDIR) && make install-lib DESTDIR=$(LIBACLROOT)
@cd $(LIBACL) && make -f ../Makefile.libacl && mv *.snap ../
$(LIBACLDEVROOT): $(ROOT)
@install -v -d $(LIBACLDEV)/SNAP && \
install -v -d $(LIBACLDEVROOT)
@cd $(SRCDIR) && make install-dev DESTDIR=$(LIBACLDEVROOT)
@cd $(LIBACLDEV) && make -f ../Makefile.libacldev && mv *.snap ../
include /usr/share/sl/Makefile.snaplinux
$(SRCDIR): $(ARCHIVE)
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
@@ -79,15 +68,16 @@ $(ROOT): $(SRCDIR)/chacl/.libs/chacl
else \
mkdir -v $(ROOT); \
fi
@install -v -d $(LIBACL)/SNAP && \
@install -v -d $(LIBACL)/SL && \
install -v -d $(LIBACLROOT) && \
install -v -d $(LIBACLDEV)/SNAP && \
install -v -d $(LIBACLDEV)/SL && \
install -v -d $(LIBACLDEVROOT) && \
cd $(SRCDIR) && make install-lib DESTDIR=$(LIBACLROOT) && \
make install-dev DESTDIR=$(LIBACLDEVROOT) && \
make install DESTDIR=$(ROOT) && \
cd $(LIBACL) && make -f ../Makefile.libacl && mv *.snap ../ && \
cd $(LIBACLDEV) && make -f ../Makefile.libacldev && mv *.snap ../
gzip $(ROOT)/usr/share/doc/*/COPYING* && \
cd $(LIBACL) && make -f ../Makefile.libacl && mv *.slp ../ && \
cd $(LIBACLDEV) && make -f ../Makefile.libacldev && mv *.slp ../
test: $(ROOT)
@cd $(SRCDIR); \
@@ -97,7 +87,7 @@ clean:
@rm -rvf $(ROOT) \
$(LIBACL) \
$(LIBACLDEV) \
$(SNAPINFO) \
$(SLINFO) \
$(MANIFEST) \
$(FILES) \
$(SRCDIR)

View File

@@ -8,8 +8,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
DEPENDS = attr,glibc
DEPENDS = glibc,libattr
REPO = core
BRIEF = Access control list shared library
DESC = Shared library for manipulating POSIX Access Control Lists
include /usr/share/snap/Makefile.snaplinux
include /usr/share/sl/Makefile.snaplinux

View File

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