]>
Commit | Line | Data |
---|---|---|
166a6c21 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
166a6c21 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = patch |
ae2ad301 | 7 | version = 2.7.5 |
5447802f | 8 | release = 1 |
6036d8a5 | 9 | |
2db15b58 | 10 | groups = Development/Tools |
802ea3af MT |
11 | url = http://www.gnu.org/software/patch/patch.html |
12 | license = GPLv2+ | |
13 | summary = Utility for modifying/upgrading files. | |
166a6c21 | 14 | |
802ea3af | 15 | description |
65fa3708 EK |
16 | The patch program applies diff files to originals. The diff |
17 | command is used to compare an original to a changed file. | |
18 | Diff lists the changes made to the file. A person who has | |
19 | the original file can then use the patch command with the | |
166a6c21 | 20 | diff file to add the changes to their original file. |
802ea3af MT |
21 | end |
22 | ||
5447802f MT |
23 | source_dl = ftp://ftp.gnu.org/gnu/patch/ |
24 | sources = %{thisapp}.tar.xz | |
802ea3af MT |
25 | |
26 | build | |
27 | requires | |
5447802f | 28 | attr-devel |
802ea3af | 29 | ed |
802ea3af MT |
30 | pkg-config |
31 | end | |
166a6c21 | 32 | |
802ea3af | 33 | CFLAGS += -D_GNU_SOURCE |
166a6c21 | 34 | |
802ea3af MT |
35 | test |
36 | make check | |
37 | end | |
802ea3af | 38 | end |
9f1e3542 | 39 | |
802ea3af MT |
40 | packages |
41 | package %{name} | |
2db15b58 MT |
42 | groups += Build |
43 | end | |
1f9bc2f0 MT |
44 | |
45 | package %{name}-debuginfo | |
46 | template DEBUGINFO | |
47 | end | |
802ea3af | 48 | end |