4 Commits

Author SHA1 Message Date
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
Jay Larson
d280dd817c Removed old commented junk from Makefile 2017-01-21 16:32:41 -06:00
3 changed files with 5 additions and 18 deletions

View File

@@ -9,12 +9,12 @@
# 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
BRIEF = Access control list tools
DESC = Commands for Manipulating POSIX Access Control Lists
SNAPVER = 4
SNAPVER = 8
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
@@ -28,23 +28,8 @@ export LIBACLROOT := $(LIBACL)/ROOT
LIBACLDEV := $(PWD)/libacl-dev
export LIBACLDEVROOT := $(LIBACLDEV)/ROOT
#SNAPHACKS = if [ -h $(ROOT)/lib/libacl.a ]; then \
# rm -v $(ROOT)/lib/libacl.a; fi
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 ../
$(SRCDIR): $(ARCHIVE)
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
tar -jxf $(ARCHIVE); \
@@ -89,6 +74,7 @@ $(ROOT): $(SRCDIR)/chacl/.libs/chacl
cd $(SRCDIR) && make install-lib DESTDIR=$(LIBACLROOT) && \
make install-dev DESTDIR=$(LIBACLDEVROOT) && \
make install DESTDIR=$(ROOT) && \
gzip $(ROOT)/usr/share/doc/*/COPYING* && \
cd $(LIBACL) && make -f ../Makefile.libacl && mv *.snap ../ && \
cd $(LIBACLDEV) && make -f ../Makefile.libacldev && mv *.snap ../

View File

@@ -8,7 +8,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
DEPENDS = attr,glibc
DEPENDS = glibc,libattr
BRIEF = Access control list shared library
DESC = Shared library for manipulating POSIX Access Control Lists

View File

@@ -8,6 +8,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
DEPENDS = glibc,libacl,libattr
BRIEF = Access control list development library
DESC = Development library for manipulating POSIX Access Control Lists