]> git.ipfire.org Git - ipfire-3.x.git/blame - pciutils/pciutils.nm
pciutils: -debuginfo package should not be in Base group.
[ipfire-3.x.git] / pciutils / pciutils.nm
CommitLineData
a50173a7 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
a50173a7
MT
4###############################################################################
5
802ea3af
MT
6name = pciutils
7version = 3.1.7
5bb8e86e 8release = 2
a50173a7 9
802ea3af 10groups = System/Base
802ea3af
MT
11url = http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
12license = GPLv2+
13summary = PCI bus related utilities.
a50173a7 14
802ea3af
MT
15description
16 The pciutils package contains various utilities for inspecting
a50173a7 17 and setting devices connected to the PCI bus.
802ea3af
MT
18end
19
20source_dl =
21sources = %{thisapp}.tar.bz2
22
23build
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
39end
40
41packages
42 package %{name}
5bb8e86e 43 groups += Base
802ea3af 44 end
1f9bc2f0 45
802ea3af
MT
46 package %{name}-libs
47 template LIBS
48 end
1f9bc2f0 49
802ea3af
MT
50 package %{name}-devel
51 template DEVEL
52 end
1f9bc2f0
MT
53
54 package %{name}-debuginfo
55 template DEBUGINFO
56 end
802ea3af 57end