]>
Commit | Line | Data |
---|---|---|
a50173a7 MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = pciutils | |
6075b575 | 28 | PKG_VER = 3.1.7 |
c81fdcc9 | 29 | PKG_REL = 1 |
a50173a7 MT |
30 | |
31 | PKG_MAINTAINER = | |
bb7d617c | 32 | PKG_GROUPS = System/Base |
b42a752b | 33 | PKG_GROUPS-pciutils = Base $(PKG_GROUPS) |
a50173a7 MT |
34 | PKG_URL = http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml |
35 | PKG_LICENSE = GPLv2+ | |
36 | PKG_SUMMARY = PCI bus related utilities. | |
37 | ||
38 | define PKG_DESCRIPTION | |
39 | The pciutils package contains various utilities for inspecting \ | |
40 | and setting devices connected to the PCI bus. | |
41 | endef | |
42 | ||
43 | PKG_TARBALL = $(THISAPP).tar.bz2 | |
44 | ||
cd2a91fb MT |
45 | PKG_PACKAGES += $(PKG_NAME)-devel $(PKG_NAME)-libs |
46 | ||
a50173a7 | 47 | define STAGE_BUILD |
c81fdcc9 MT |
48 | cd $(DIR_APP) && make SHARED=yes OPT="$(CFLAGS)" PREFIX=/usr \ |
49 | IDSDIR=/usr/share/hwdata ZLIB=no $(PARALLELISMFLAGS) | |
a50173a7 MT |
50 | endef |
51 | ||
52 | define STAGE_INSTALL | |
951459e8 | 53 | cd $(DIR_APP) && make SHARED=yes PREFIX=/usr install DESTDIR=$(BUILDROOT) \ |
c81fdcc9 | 54 | IDSDIR=/usr/share/hwdata MANDIR=/usr/share/man |
a50173a7 MT |
55 | |
56 | -mkdir -pv $(BUILDROOT)/usr/include/pci | |
57 | install -v -m 644 $(DIR_APP)/lib/*.h $(BUILDROOT)/usr/include/pci | |
58 | ||
59 | -mkdir -pv $(BUILDROOT)/usr/lib | |
60 | ln -svf libpci.so.3 $(BUILDROOT)/usr/lib/libpci.so | |
61 | endef |