]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - pkgs/pciutils/pciutils.nm
avahi: Update to 0.6.30.
[people/stevee/ipfire-3.x.git] / pkgs / pciutils / pciutils.nm
CommitLineData
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
25include $(PKGROOT)/Include
26
27PKG_NAME = pciutils
6075b575 28PKG_VER = 3.1.7
c81fdcc9 29PKG_REL = 1
a50173a7
MT
30
31PKG_MAINTAINER =
bb7d617c 32PKG_GROUPS = System/Base
b42a752b 33PKG_GROUPS-pciutils = Base $(PKG_GROUPS)
a50173a7
MT
34PKG_URL = http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
35PKG_LICENSE = GPLv2+
36PKG_SUMMARY = PCI bus related utilities.
37
38define PKG_DESCRIPTION
39 The pciutils package contains various utilities for inspecting \
40 and setting devices connected to the PCI bus.
41endef
42
43PKG_TARBALL = $(THISAPP).tar.bz2
44
cd2a91fb
MT
45PKG_PACKAGES += $(PKG_NAME)-devel $(PKG_NAME)-libs
46
a50173a7 47define 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
50endef
51
52define 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
61endef