]>
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 = attr | |
28 | PKG_VER = 2.4.43 | |
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+ LGPLv2+ | |
35 | PKG_SUMMARY = Tools for extended attribute support. | |
36 | ||
37 | define PKG_DESCRIPTION | |
38 | A set of tools for manipulating extended attributes on filesystem \ | |
39 | objects. | |
40 | endef | |
41 | ||
42 | PKG_TARBALL = $(THISAPP).tar.gz | |
43 | ||
8a6b9d78 MT |
44 | PKG_BUILD_DEPS+= gettext libtool |
45 | ||
46 | PKG_PACKAGES = libattr libattr-devel | |
47 | ||
48 | PKG_FILES-libattr = $(PKG_FILES-$(PKG_NAME_REAL)-libs) | |
49 | PKG_FILES-libattr-devel = $(PKG_FILES-$(PKG_NAME_REAL)-devel) | |
50 | ||
492c939a SS |
51 | CONFIGURE_OPTIONS += \ |
52 | --bindir=/bin \ | |
50d91a12 MT |
53 | --enable-shared \ |
54 | --mandir=/usr/share/man | |
166a6c21 | 55 | |
b83b4a1e MT |
56 | STAGE_BUILD_TARGETS += LIBTOOL="libtool --tag=CC" |
57 | ||
492c939a | 58 | define STAGE_INSTALL_CMDS |
ed8f7f83 | 59 | -mkdir -pv $(BUILDROOT)/{,usr/}lib |
166a6c21 MT |
60 | install -v -m0755 $(DIR_APP)/libattr/.libs/libattr.so.1.1.0 $(BUILDROOT)/lib |
61 | ln -vsf libattr.so.1.1.0 $(BUILDROOT)/lib/libattr.so.1 | |
62 | ln -vsf ../../lib/libattr.so.1 $(BUILDROOT)/usr/lib/libattr.so | |
63 | install -v -d $(BUILDROOT)/usr/include/attr | |
64 | cp -vf $(DIR_APP)/include/{attributes.h,error_context.h,libattr.h,xattr.h} \ | |
65 | $(BUILDROOT)/usr/include/attr/ | |
17c0ee8a | 66 | endef |