pciutils pci.ids.
This commit is contained in:
@@ -2,25 +2,23 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
j = ''.join([
|
||||
' SHARED="yes"',
|
||||
' PREFIX=/usr',
|
||||
' IDSDIR="/usr/share/hwdata" '
|
||||
])
|
||||
|
||||
def build():
|
||||
autotools.make('OPT="%s" \
|
||||
SHARED="yes" \
|
||||
PREFIX=/usr \
|
||||
IDSDIR="/usr/share/misc" \
|
||||
all' % get.CFLAGS())
|
||||
autotools.make('OPT="%s" %s all' % (get.CFLAGS(), j))
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DESTDIR="%s" \
|
||||
PREFIX=/usr \
|
||||
SHARED="yes" \
|
||||
IDSDIR="/usr/share/misc" \
|
||||
install-lib' % get.installDIR())
|
||||
autotools.rawInstall('DESTDIR="%s" %s install-lib' % (get.installDIR(), j))
|
||||
|
||||
# remove update-pciids
|
||||
pisitools.remove("/usr/sbin/update-pciids")
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pciutils</Name>
|
||||
<Homepage>http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html</Homepage>
|
||||
<Homepage>https://mj.ucw.cz/sw/pciutils/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
@@ -12,13 +12,8 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Various utilities dealing with the PCI bus</Summary>
|
||||
<Description>The PCI Utilities are a collection of programs for inspecting and manipulating configuration of PCI devices.</Description>
|
||||
<Archive sha1sum="f7d6860ffe405b4ebb23b013866a64c9f80c2fa3" type="tarxz">https://ftp.osuosl.org/pub/blfs/conglomeration/pciutils/pciutils-3.7.0.tar.xz</Archive>
|
||||
<AdditionalFiles>
|
||||
<!-- 20100714
|
||||
from: http://pciids.sourceforge.net/v2.2/pci.ids
|
||||
-->
|
||||
<AdditionalFile target="pci.ids">pci.ids</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Archive sha1sum="f7d6860ffe405b4ebb23b013866a64c9f80c2fa3" type="tarxz">https://mirrors.edge.kernel.org/pub/software/utils/pciutils/pciutils-3.7.0.tar.xz</Archive>
|
||||
<Archive sha1sum="dceac2605b238cb558aa2e80b0a4686e5a8eab74" type="binary" target="pciutils-3.7.0">https://github.com/pciutils/pciids/raw/master/pci.ids</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>libkmod-devel</Dependency>
|
||||
@@ -27,9 +22,6 @@
|
||||
<!-- Disable gz support of pciids file -->
|
||||
<Patch level="1">pciutils-nogz.patch</Patch>
|
||||
<Patch level="1">pciutils-3.1.9-static-pc.patch</Patch>
|
||||
<!-- Remove update-pciids support -->
|
||||
<!--Patch level="1">pciutils-remove-update-pciids.patch</Patch-->
|
||||
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -44,7 +36,7 @@
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/misc</Path>
|
||||
<Path fileType="data">/usr/share/hwdata</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
@@ -62,6 +54,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="9">
|
||||
<Date>2021-11-27</Date>
|
||||
<Version>3.7.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2020-12-09</Date>
|
||||
<Version>3.7.0</Version>
|
||||
@@ -76,7 +75,7 @@
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Update release="6">
|
||||
<Date>2019-12-26</Date>
|
||||
<Version>3.6.2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
|
||||
Reference in New Issue
Block a user