]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/acl/acl.nm
1d4fa0a317ae0c0864d00f4909a7e1f7afc3d699
[people/ms/ipfire-3.x.git] / pkgs / acl / acl.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
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. #
10 # #
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. #
15 # #
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/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = acl
28 PKG_VER = 2.2.47
29 PKG_REL = 0
30
31 PKG_MAINTAINER =
32 PKG_GROUPS = System/Filesystems
33 PKG_URL = http://oss.sgi.com/projects/xfs/
34 PKG_LICENSE = GPLv2+
35 PKG_SUMMARY = Access control list utilities.
36
37 define PKG_DESCRIPTION
38 This package contains the getfacl and setfacl utilities needed for \
39 manipulating access control lists.
40 endef
41
42 PKG_BUILD_DEPS+= gettext libattr-devel libnfsidmap-devel libtool
43
44 PKG_TARBALL = $(THISAPP).tar.gz
45
46 PKG_PACKAGES += libacl libacl-devel
47
48 PKG_FILES-libacl = $(PKG_FILES-$(PKG_NAME_REAL)-libs)
49 PKG_FILES-libacl-devel = $(PKG_FILES-$(PKG_NAME_REAL)-devel)
50
51 CONFIGURE_OPTIONS += \
52 --bindir=/bin \
53 --disable-static \
54 --mandir=/usr/share/man
55
56 STAGE_BUILD_TARGETS += LIBTOOL="libtool --tag=CC"
57
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/
65 endef