]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pciutils/pciutils.nm
Merge remote-tracking branch 'stevee/xen-dev86'
[people/ms/ipfire-3.x.git] / pciutils / pciutils.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pciutils
7 version = 3.1.7
8 release = 2
9
10 groups = System/Base
11 url = http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
12 license = GPLv2+
13 summary = PCI bus related utilities.
14
15 description
16 The pciutils package contains various utilities for inspecting
17 and setting devices connected to the PCI bus.
18 end
19
20 source_dl =
21 sources = %{thisapp}.tar.bz2
22
23 build
24 build
25 make SHARED=yes OPT="%{CFLAGS}" PREFIX=/usr \
26 IDSDIR=/usr/share/hwdata ZLIB=no %{PARALLELISMFLAGS}
27 end
28
29 install
30 make SHARED=yes PREFIX=/usr install DESTDIR=%{BUILDROOT} \
31 IDSDIR=/usr/share/hwdata MANDIR=/usr/share/man
32
33 mkdir -pv %{BUILDROOT}/usr/include/pci
34 install -v -m 644 %{DIR_APP}/lib/*.h %{BUILDROOT}/usr/include/pci
35
36 mkdir -pv %{BUILDROOT}/usr/lib
37 ln -svf libpci.so.3 %{BUILDROOT}/usr/lib/libpci.so
38 end
39 end
40
41 packages
42 package %{name}
43 groups += Base
44 end
45
46 package %{name}-libs
47 template LIBS
48 end
49
50 package %{name}-devel
51 template DEVEL
52 end
53
54 package %{name}-debuginfo
55 template DEBUGINFO
56 end
57 end