]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = xfsprogs |
7 | version = 3.1.2 | |
8 | release = 1 | |
acba165f | 9 | |
802ea3af MT |
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 | |
acba165f | 14 | |
802ea3af MT |
15 | description |
16 | A set of commands to use the XFS filesystem, including mkfs.xfs. | |
17 | end | |
acba165f | 18 | |
802ea3af | 19 | source_dl = ftp://oss.sgi.com/projects/xfs/cmd_tars/ |
acba165f | 20 | |
802ea3af MT |
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 | |
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 | |
61 | end | |
7ce06e41 | 62 | |
802ea3af MT |
63 | packages |
64 | package %{name} | |
65 | end | |
66 | ||
67 | package %{name}-devel | |
68 | template DEVEL | |
69 | end | |
70 | end |