]>
Commit | Line | Data |
---|---|---|
250e941e | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
250e941e MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = chrpath |
0d202952 | 7 | version = 0.16 |
4a394d62 | 8 | release = 2 |
250e941e | 9 | |
802ea3af | 10 | groups = Development/Tools |
0d202952 MT |
11 | url = https://directory.fsf.org/wiki/Chrpath/ |
12 | license = GPLv2+ | |
13 | summary = Modify rpath of compiled programs | |
250e941e | 14 | |
802ea3af | 15 | description |
250e941e MT |
16 | chrpath allows you to modify the dynamic library load path (rpath) of |
17 | compiled programs. Currently, only removing and modifying the rpath | |
18 | is supported. | |
802ea3af MT |
19 | end |
20 | ||
0d202952 MT |
21 | # Upstream has gone |
22 | source_dl = https://deb.debian.org/debian/pool/main/c/chrpath/ | |
23 | sources = %{name}_%{version}.orig.tar.gz | |
250e941e | 24 | |
4a394d62 SS |
25 | build |
26 | configure_options += \ | |
27 | --docdir=%{docdir} | |
28 | ||
29 | install_cmds | |
30 | # Chrpath ignores the docdir swith during configure. | |
31 | # Move the documentation to the correct place. | |
32 | mv -vf %{BUILDROOT}/usr/doc/%{name}-* %{BUILDROOT}%{docdir} | |
33 | ||
34 | # Remove empty directory | |
35 | rm -rvf %{BUILDROOT}/usr/doc | |
36 | end | |
37 | end | |
38 | ||
802ea3af MT |
39 | packages |
40 | package %{name} | |
1f9bc2f0 MT |
41 | |
42 | package %{name}-debuginfo | |
43 | template DEBUGINFO | |
44 | end | |
802ea3af | 45 | end |