]>
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 |
65fa3708 | 7 | version = 2.7.1 |
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 MT |
29 | ed |
30 | libselinux-devel | |
31 | pkg-config | |
32 | end | |
166a6c21 | 33 | |
802ea3af | 34 | CFLAGS += -D_GNU_SOURCE |
166a6c21 | 35 | |
802ea3af MT |
36 | test |
37 | make check | |
38 | end | |
802ea3af | 39 | end |
9f1e3542 | 40 | |
802ea3af MT |
41 | packages |
42 | package %{name} | |
2db15b58 MT |
43 | groups += Build |
44 | end | |
1f9bc2f0 MT |
45 | |
46 | package %{name}-debuginfo | |
47 | template DEBUGINFO | |
48 | end | |
802ea3af | 49 | end |