]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - xfsprogs/xfsprogs.nm
Change file layout of the makefiles.
[people/stevee/ipfire-3.x.git] / xfsprogs / xfsprogs.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = xfsprogs
7 version = 3.1.2
8 release = 1
9
10 groups = System/Filesystems
11 url = http://oss.sgi.com/projects/xfs/
12 license = GPL+ and LGPLv2+
13 summary = Utilities for managing the XFS filesystem
14
15 description
16 A set of commands to use the XFS filesystem, including mkfs.xfs.
17 end
18
19 source_dl = ftp://oss.sgi.com/projects/xfs/cmd_tars/
20
21 build
22 requires
23 e2fsprogs-devel
24 gettext
25 libacl-devel
26 libblkid-devel
27 libtool
28 libuuid-devel
29 readline-devel
30 end
31
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
41
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
48
49 make_build_targets +=\
50 V=1 DEBUG=-DNDEBUG
51
52
53 install
54 make install install-dev install-qa DIST_ROOT=%{BUILDROOT}
55
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
61 end
62
63 packages
64 package %{name}
65 end
66
67 package %{name}-devel
68 template DEVEL
69 end
70 end