]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - xfsprogs/xfsprogs.nm
Move all packages to root.
[people/amarx/ipfire-3.x.git] / xfsprogs / xfsprogs.nm
CommitLineData
acba165f 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
acba165f
BS
4###############################################################################
5
802ea3af
MT
6name = xfsprogs
7version = 3.1.2
8release = 1
acba165f 9
802ea3af
MT
10groups = System/Filesystems
11url = http://oss.sgi.com/projects/xfs/
12license = GPL+ and LGPLv2+
13summary = Utilities for managing the XFS filesystem
acba165f 14
802ea3af
MT
15description
16 A set of commands to use the XFS filesystem, including mkfs.xfs.
17end
acba165f 18
802ea3af 19source_dl = ftp://oss.sgi.com/projects/xfs/cmd_tars/
acba165f 20
802ea3af
MT
21build
22 requires
23 e2fsprogs-devel
24 gettext
25 libacl-devel
26 libblkid-devel
27 libtool
28 libuuid-devel
29 readline-devel
30 end
acba165f 31
802ea3af
MT
32 configure_options += \
33 --mandir=/usr/share/man \
34 --bindir=/sbin \
35 --sbindir=/sbin \
36 --libdir=/lib \
37 --libexecdir=/usr/lib \
38 --enable-readline=yes \
39 --enable-blkid=yes \
40 --disable-static
acba165f 41
802ea3af
MT
42 configure_cmds
43 # Kill rpaths
44 sed -i libtool \
45 -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
46 -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g'
47 end
acba165f 48
802ea3af
MT
49 make_build_targets +=\
50 V=1 DEBUG=-DNDEBUG
7ce06e41 51
7ce06e41 52
802ea3af
MT
53 install
54 make install install-dev install-qa DIST_ROOT=%{BUILDROOT}
acba165f 55
802ea3af
MT
56 chmod -v 755 %{BUILDROOT}/lib/libhandle.so*
57 rm -vf %{BUILDROOT}/lib/libhandle.so
58 mkdir -pv %{BUILDROOT}/usr/lib
59 ln -svf ../../lib/libhandle.so.1 %{BUILDROOT}/usr/lib/libhandle.so
60 end
61end
7ce06e41 62
802ea3af
MT
63packages
64 package %{name}
65 end
66
67 package %{name}-devel
68 template DEVEL
69 end
70end