1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
32 PKG_GROUPS = System/Filesystems
33 PKG_URL = http://oss.sgi.com/projects/xfs/
35 PKG_SUMMARY = Access control list utilities.
37 define PKG_DESCRIPTION
38 This package contains the getfacl and setfacl utilities needed for \
39 manipulating access control lists.
42 PKG_BUILD_DEPS+= gettext libattr-devel libnfsidmap-devel libtool
44 PKG_TARBALL = $(THISAPP).tar.gz
46 PKG_PACKAGES += libacl libacl-devel
48 PKG_FILES-libacl = $(PKG_FILES-$(PKG_NAME_REAL)-libs)
49 PKG_FILES-libacl-devel = $(PKG_FILES-$(PKG_NAME_REAL)-devel)
51 CONFIGURE_OPTIONS += \
54 --mandir=/usr/share/man
56 STAGE_BUILD_TARGETS += LIBTOOL="libtool --tag=CC"
58 define STAGE_INSTALL_CMDS
59 -mkdir -pv $(BUILDROOT)/{,usr/}lib $(BUILDROOT)/usr/include/{acl,sys}
60 install -v -m0755 $(DIR_APP)/libacl/.libs/libacl.so.1.2.0 $(BUILDROOT)/lib
61 ln -vsf libacl.so.1.2.0 $(BUILDROOT)/lib/libacl.so.1
62 ln -vsf ../../lib/libacl.so.1 $(BUILDROOT)/usr/lib/libacl.so
63 cp -vf $(DIR_APP)/include/libacl.h $(BUILDROOT)/usr/include/acl/
64 cp -vf $(DIR_APP)/include/acl.h $(BUILDROOT)/usr/include/sys/