]> git.ipfire.org Git - ipfire-3.x.git/blame - pkgs/core/attr/attr.nm
naoki: Initial checkin.
[ipfire-3.x.git] / pkgs / core / attr / attr.nm
CommitLineData
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
25include ../../Config
26
27PKG_NAME = attr
28PKG_VER = 2.4.43
29PKG_REL = 0
30
31PKG_MAINTAINER =
32PKG_GROUP = System/Filesystems
33PKG_URL = http://oss.sgi.com/projects/xfs/
34PKG_LICENSE = GPLv2+ LGPLv2+
35PKG_SUMMARY = Tools for extended attribute support.
36
37define PKG_DESCRIPTION
38 A set of tools for manipulating extended attributes on filesystem \
39 objects.
40endef
41
42PKG_TARBALL = $(THISAPP).tar.gz
43
44include ../../Rules
45
46###############################################################################
47# Installation Details
48###############################################################################
49
50$(STAGE_BUILD): $(STAGE_PREPARE)
51 @$(PRE_BUILD)
52
53 cd $(DIR_APP) && \
54 ./configure \
55 $(CONFIGURE_ARCH) \
56 --prefix=/usr \
57 --bindir=/bin \
58 --enable-shared
59
60 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
61
62 @$(POST_BUILD)
63
64$(STAGE_INSTALL): $(STAGE_BUILD)
65 @$(PRE_INSTALL)
66
67 cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
68
69 install -v -m0755 $(DIR_APP)/libattr/.libs/libattr.so.1.1.0 $(BUILDROOT)/lib
70 ln -vsf libattr.so.1.1.0 $(BUILDROOT)/lib/libattr.so.1
71 ln -vsf ../../lib/libattr.so.1 $(BUILDROOT)/usr/lib/libattr.so
72 install -v -d $(BUILDROOT)/usr/include/attr
73 cp -vf $(DIR_APP)/include/{attributes.h,error_context.h,libattr.h,xattr.h} \
74 $(BUILDROOT)/usr/include/attr/
75
76 @$(POST_INSTALL)