]> git.ipfire.org Git - ipfire-3.x.git/blob - pciutils/pciutils.nm
Add a -debuginfo for every package that is not noarch.
[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 = 1
9
10 groups = System/Base
11 groups-pciutils = Base %{groups}
12 url = http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
13 license = GPLv2+
14 summary = PCI bus related utilities.
15
16 description
17 The pciutils package contains various utilities for inspecting
18 and setting devices connected to the PCI bus.
19 end
20
21 source_dl =
22 sources = %{thisapp}.tar.bz2
23
24 build
25 build
26 make SHARED=yes OPT="%{CFLAGS}" PREFIX=/usr \
27 IDSDIR=/usr/share/hwdata ZLIB=no %{PARALLELISMFLAGS}
28 end
29
30 install
31 make SHARED=yes PREFIX=/usr install DESTDIR=%{BUILDROOT} \
32 IDSDIR=/usr/share/hwdata MANDIR=/usr/share/man
33
34 mkdir -pv %{BUILDROOT}/usr/include/pci
35 install -v -m 644 %{DIR_APP}/lib/*.h %{BUILDROOT}/usr/include/pci
36
37 mkdir -pv %{BUILDROOT}/usr/lib
38 ln -svf libpci.so.3 %{BUILDROOT}/usr/lib/libpci.so
39 end
40 end
41
42 packages
43 package %{name}
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