]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = popt | |
7 | version = 1.16 | |
8 | release = 1 | |
9 | ||
10 | groups = System/Libraries | |
11 | url = http://www.rpm5.org/ | |
12 | license = MIT | |
13 | summary = C library for parsing command line parameters. | |
14 | ||
15 | description | |
16 | Popt is a C library for parsing command line parameters. Popt was | |
17 | heavily influenced by the getopt() and getopt_long() functions, but | |
18 | it improves on them by allowing more powerful argument expansion. | |
19 | end | |
20 | ||
21 | source_dl = http://rpm5.org/files/popt/ | |
22 | ||
23 | build | |
24 | requires | |
25 | automake | |
26 | end | |
27 | ||
28 | prepare_cmds | |
29 | for i in $(find . -name config.guess -or -name config.sub); do | |
30 | cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i}) | |
31 | done | |
32 | end | |
33 | end | |
34 | ||
35 | packages | |
36 | package %{name} | |
37 | ||
38 | package %{name}-devel | |
39 | template DEVEL | |
40 | end | |
41 | ||
42 | package %{name}-debuginfo | |
43 | template DEBUGINFO | |
44 | end | |
45 | end |