]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = pciutils |
7 | version = 3.1.7 | |
5bb8e86e | 8 | release = 2 |
a50173a7 | 9 | |
802ea3af | 10 | groups = System/Base |
802ea3af MT |
11 | url = http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml |
12 | license = GPLv2+ | |
13 | summary = PCI bus related utilities. | |
a50173a7 | 14 | |
802ea3af MT |
15 | description |
16 | The pciutils package contains various utilities for inspecting | |
a50173a7 | 17 | and setting devices connected to the PCI bus. |
802ea3af MT |
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} | |
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 | 57 | end |