Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a6b73a649 | ||
|
|
fc1761d107 | ||
|
|
c406470a7b | ||
|
|
d280dd817c |
20
Makefile
20
Makefile
@@ -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 ../
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user