]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - lfs/attr
Changed name to IPFire-3.0-alpha1 (Lechery).
[people/arne_f/ipfire-3.x.git] / lfs / attr
CommitLineData
cd1a2927 1###############################################################################
cd1a2927 2# #
70df8302 3# IPFire.org - A linux based firewall #
41a5aced 4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
70df8302
MT
5# #
6# This program is free software: you can redistribute it and/or modify #
cd1a2927 7# it under the terms of the GNU General Public License as published by #
70df8302 8# the Free Software Foundation, either version 3 of the License, or #
cd1a2927
MT
9# (at your option) any later version. #
10# #
70df8302 11# This program is distributed in the hope that it will be useful, #
cd1a2927
MT
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 #
70df8302 17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
cd1a2927 18# #
cd1a2927
MT
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include Config
26
520794d0 27PKG_NAME = attr
8985a698
MT
28PKG_VER = 2.4.41
29PKG_REL = 0
cd1a2927 30
8985a698 31THISAPP = $(PKG_NAME)-$(PKG_VER)
cd1a2927 32DL_FILE = $(THISAPP).tar.gz
cd1a2927 33DIR_APP = $(DIR_SRC)/$(THISAPP)
520794d0 34
6679675b 35OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
cd1a2927 36
41a5aced 37MAINTAINER =
a3d03127 38GROUP = System/Libraries
41a5aced
MT
39EXTRA = no
40DEBUG = no
41DEPS =
42
43URL = http://oss.sgi.com/projects/xfs/
44LICENSE = GPLv2+ LGPLv2+
45SHORT_DESC = Tools for extended attribute support.
46
47define LONG_DESC
48 A set of tools for manipulating extended attributes on filesystem \
49 objects.
50endef
51
cd1a2927
MT
52###############################################################################
53# Top-level Rules
54###############################################################################
55
56objects = $(DL_FILE)
57
41a5aced
MT
58download: $(objects)
59
17bd14fb
MT
60info:
61 $(DO_PKG_INFO)
62
6679675b 63install: $(OBJECT)
cd1a2927 64
41a5aced
MT
65package:
66 @$(DO_PACKAGE)
cd1a2927 67
41a5aced 68$(objects):
cd1a2927
MT
69 @$(LOAD)
70
cd1a2927
MT
71###############################################################################
72# Installation Details
73###############################################################################
74
6679675b 75$(OBJECT): $(objects)
cd1a2927
MT
76 @$(PREBUILD)
77 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
41a5aced
MT
78 cd $(DIR_APP) && \
79 ./configure \
f641f9f4 80 $(CONFIGURE_ARCH) \
41a5aced
MT
81 --prefix=/usr \
82 --bindir=/bin \
83 --enable-shared
520794d0 84 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
cd1a2927 85 cd $(DIR_APP) && make install
520794d0
MT
86
87 install -v -m0755 $(DIR_APP)/libattr/.libs/libattr.so.1.1.0 /lib
88 ln -vsf libattr.so.1.1.0 /lib/libattr.so.1
89 ln -vsf libattr.so.1.1.0 /lib/libattr.so
90 install -v -d /usr/include/attr
91 install -v -m0644 $(DIR_APP)/include/xattr.h /usr/include/attr/
92
cd1a2927
MT
93 @rm -rf $(DIR_APP)
94 @$(POSTBUILD)