]>
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 = procps-ng | |
7 | version = 3.3.10 | |
8 | release = 1 | |
9 | ||
10 | groups = Applications/System | |
11 | url = http://procps-ng.sourceforge.net/ | |
12 | license = GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ | |
13 | summary = System and process monitoring utilities. | |
14 | ||
15 | description | |
16 | The procps package contains a set of system utilities that provide | |
17 | system information. Procps includes ps, free, skill, pkill, pgrep, | |
18 | snice, tload, top, uptime, vmstat, w, watch and pdwx. | |
19 | end | |
20 | ||
21 | source_dl = http://downloads.sourceforge.net/%{name}/ | |
22 | sources = %{thisapp}.tar.xz | |
23 | ||
24 | build | |
25 | requires | |
26 | gettext-devel | |
27 | libselinux-devel | |
28 | ncurses-devel >= 5.9-11 | |
29 | end | |
30 | ||
31 | configure_options += \ | |
32 | --disable-static \ | |
33 | --disable-kill \ | |
34 | --disable-w-from \ | |
35 | --disable-modern-top \ | |
36 | --enable-watch8bit \ | |
37 | --enable-skill \ | |
38 | --enable-sigwinch \ | |
39 | --enable-libselinux | |
40 | ||
41 | # Fix install path of some binaries. | |
42 | make_install_targets += \ | |
43 | usrbin_execdir=%{bindir} | |
44 | ||
45 | install_cmds | |
46 | ln -s %{bindir}/pidof %{buildroot}%{sbindir}/pidof | |
47 | end | |
48 | end | |
49 | ||
50 | packages | |
51 | package %{name} | |
52 | groups += Base | |
53 | ||
54 | provides | |
55 | procps=%{thisver} | |
56 | end | |
57 | ||
58 | obsoletes | |
59 | procps < %{thisver} | |
60 | /bin/pidof | |
61 | end | |
62 | ||
63 | conflicts | |
64 | sysvinit <= 2.86-6 | |
65 | end | |
66 | end | |
67 | ||
68 | package %{name}-devel | |
69 | template DEVEL | |
70 | end | |
71 | ||
72 | package %{name}-debuginfo | |
73 | template DEBUGINFO | |
74 | end | |
75 | end |