]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - pkgs/core/xfsprogs/xfsprogs.nm
New file: strace.
[people/arne_f/ipfire-3.x.git] / pkgs / core / xfsprogs / xfsprogs.nm
CommitLineData
acba165f
BS
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 $(PKGROOT)/Include
26
27PKG_NAME = xfsprogs
28PKG_VER = 3.1.1
29PKG_REL = 0
30
31PKG_MAINTAINER =
32PKG_GROUP = System/Filesystems
33PKG_URL = http://oss.sgi.com/projects/xfs/
34PKG_LICENSE = GPL+ and LGPLv2+
35PKG_SUMMARY = Utilities for managing the XFS filesystem
36
37PKG_BUILD_DEPS+= libtool gettext e2fsprogs readline acl acl-devel
38PKG_DEPS += readline
39
40define PKG_DESCRIPTION
41 A set of commands to use the XFS filesystem, including mkfs.xfs.
42endef
43
44PKG_TARBALL = $(THISAPP).tar.gz
45
46###############################################################################
47# Installation Details
48###############################################################################
49
50define STAGE_BUILD
51 cd $(DIR_APP) && ./configure \
52 --prefix=/usr \
53 --mandir=/usr/share/man \
54 --bindir=/sbin \
55 --sbindir=/sbin \
56 --libdir=/lib \
57 --libexecdir=/usr/lib \
58 --enable-readline=yes
59 cd $(DIR_APP) && make DEBUG=-DNDEBUG
60endef
61
62define STAGE_INSTALL
63 cd $(DIR_APP) && make install install-dev install-qa DIST_ROOT=$(BUILDROOT)
64 chmod -v 755 $(BUILDROOT)/lib/libhandle.so*
65 rm -vf $(BUILDROOT)/lib/libhandle.so
66 -mkdir -pv $(BUILDROOT)/usr/lib
67 ln -svf ../../lib/libhandle.so.1 $(BUILDROOT)/usr/lib/libhandle.so
68endef