]> git.ipfire.org Git - ipfire-3.x.git/blob - lsof/lsof.nm
Merge remote-tracking branch 'stevee/lm_sensors'
[ipfire-3.x.git] / lsof / lsof.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = lsof
7 version = 4.85
8 release = 1
9
10 groups = Development/Debuggers
11 url = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
12 license = zlib
13 summary = A utility which lists open files on a Linux/UNIX system.
14
15 description
16 Lsof stands for LiSt Open Files, and it does just that:
17 it lists information about files that are open by the
18 processes running on a system.
19 end
20
21 thisapp = %{name}_%{version}_src
22
23 build
24 requires
25 libselinux-devel
26 end
27
28 build
29 LINUX_BASE=/proc \
30 LSOF_VSTR="2.6.16" \
31 ./Configure linux -n
32 make DEBUG="%{CFLAGS}" %{PARALLELISMFLAGS}
33 end
34
35 install
36 mkdir -pv %{BUILDROOT}/usr/sbin
37 install -m 755 lsof %{BUILDROOT}/usr/sbin
38 mkdir -pv %{BUILDROOT}/usr/share/man/man8
39 cp -vf lsof.8 %{BUILDROOT}/usr/share/man/man8
40 end
41 end
42
43 packages
44 package %{name}
45
46 package %{name}-debuginfo
47 template DEBUGINFO
48 end
49 end