]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - pciutils/pciutils.nm
Move all packages to root.
[people/stevee/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
8release = 1
a50173a7 9
802ea3af
MT
10groups = System/Base
11groups-pciutils = Base %{groups}
12url = http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
13license = GPLv2+
14summary = PCI bus related utilities.
a50173a7 15
802ea3af
MT
16description
17 The pciutils package contains various utilities for inspecting
a50173a7 18 and setting devices connected to the PCI bus.
802ea3af
MT
19end
20
21source_dl =
22sources = %{thisapp}.tar.bz2
23
24build
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
40end
41
42packages
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
53end