]>
Commit | Line | Data |
---|---|---|
166a6c21 MT |
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 | ||
a7c97434 | 25 | include $(PKGROOT)/Include |
166a6c21 MT |
26 | |
27 | PKG_NAME = acl | |
28 | PKG_VER = 2.2.47 | |
29 | PKG_REL = 0 | |
30 | ||
31 | PKG_MAINTAINER = | |
bb7d617c | 32 | PKG_GROUPS = System/Filesystems |
166a6c21 MT |
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 | ||
5e5c27e7 | 42 | PKG_BUILD_DEPS+= gettext libattr-devel libnfsidmap-devel libtool |
166a6c21 MT |
43 | |
44 | PKG_TARBALL = $(THISAPP).tar.gz | |
166a6c21 | 45 | |
5e5c27e7 MT |
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) | |
166a6c21 | 50 | |
052538b7 SS |
51 | CONFIGURE_OPTIONS += \ |
52 | --bindir=/bin \ | |
53 | --disable-static \ | |
54 | --mandir=/usr/share/man | |
166a6c21 | 55 | |
1a4ec61b MT |
56 | STAGE_BUILD_TARGETS += LIBTOOL="libtool --tag=CC" |
57 | ||
052538b7 | 58 | define STAGE_INSTALL_CMDS |
fde62a2f | 59 | -mkdir -pv $(BUILDROOT)/{,usr/}lib $(BUILDROOT)/usr/include/{acl,sys} |
615e15c6 MT |
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 | |
166a6c21 | 62 | ln -vsf ../../lib/libacl.so.1 $(BUILDROOT)/usr/lib/libacl.so |
166a6c21 MT |
63 | cp -vf $(DIR_APP)/include/libacl.h $(BUILDROOT)/usr/include/acl/ |
64 | cp -vf $(DIR_APP)/include/acl.h $(BUILDROOT)/usr/include/sys/ | |
17c0ee8a | 65 | endef |