]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - popt/popt.nm
Merge remote-tracking branch 'ms/kernel-3.2'
[people/ms/ipfire-3.x.git] / popt / popt.nm
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.15
8 release = 2
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 =
22
23 build
24 configure_options += \
25 --libdir=/%{lib}
26
27 install_cmds
28 mkdir -pv %{BUILDROOT}%{libdir}
29 rm -vf %{BUILDROOT}/%{lib}/libpopt.so
30 ln -sfv ../../%{lib}/libpopt.so.0.0.0 %{BUILDROOT}%{libdir}/libpopt.so
31 end
32 end
33
34 packages
35 package %{name}
36
37 package %{name}-devel
38 template DEVEL
39 end
40
41 package %{name}-debuginfo
42 template DEBUGINFO
43 end
44 end