]> git.ipfire.org Git - ipfire-3.x.git/blame - patchelf/patchelf.nm
patchelf: Update to version 0.18.0
[ipfire-3.x.git] / patchelf / patchelf.nm
CommitLineData
c35dff53
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = patchelf
68b16b24
AB
7version = 0.18.0
8release = 1
c35dff53
SS
9
10groups = Development/Tools
11url = http://nixos.org/patchelf.html
12license = GPLv3+
13summary = A utility for patching ELF binaries
14
15description
16 PatchELF is a simple utility for modifying an existing ELF executable
17 or library. It can change the dynamic loader ("ELF interpreter")
18 of an executable and change the RPATH of an executable or library.
19end
20
21source_dl = https://github.com/NixOS/%{name}/archive/%{version}/
22sources = %{thisapp}.tar.gz
23
24build
25 requires
26 autoconf
27 automake
28 end
29
30 prepare_cmds
31 # Remove shipped elf header file and
32 # use the one from glibc instead.
33 rm -rvf src/elf.h
34
35 # Disable test which requires DT_JMPREL.
36 # Our default compiler configuration does not allow to
37 # compile such an elf file.
38 sed -i '/phdr-corruption.sh/d' tests/Makefile.am
39
40 ./bootstrap.sh
41 end
42
43 test
b877536a
MT
44 # Ignore any failures in the testsuite
45 make check || true
c35dff53
SS
46 end
47end
48
49packages
50 package %{name}
51
52 package %{name}-debuginfo
53 template DEBUGINFO
54 end
55end