pciutils pci.ids.

This commit is contained in:
4fury-c3440d8
2021-11-27 01:36:04 +03:00
parent b9ecbbc07e
commit a0197cd701
2 changed files with 22 additions and 25 deletions
+9 -11
View File
@@ -2,25 +2,23 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # 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 autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
j = ''.join([
' SHARED="yes"',
' PREFIX=/usr',
' IDSDIR="/usr/share/hwdata" '
])
def build(): def build():
autotools.make('OPT="%s" \ autotools.make('OPT="%s" %s all' % (get.CFLAGS(), j))
SHARED="yes" \
PREFIX=/usr \
IDSDIR="/usr/share/misc" \
all' % get.CFLAGS())
def install(): def install():
autotools.rawInstall('DESTDIR="%s" \ autotools.rawInstall('DESTDIR="%s" %s install-lib' % (get.installDIR(), j))
PREFIX=/usr \
SHARED="yes" \
IDSDIR="/usr/share/misc" \
install-lib' % get.installDIR())
# remove update-pciids # remove update-pciids
pisitools.remove("/usr/sbin/update-pciids") pisitools.remove("/usr/sbin/update-pciids")
+13 -14
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" ?> <?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> <PISI>
<Source> <Source>
<Name>pciutils</Name> <Name>pciutils</Name>
<Homepage>http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html</Homepage> <Homepage>https://mj.ucw.cz/sw/pciutils/</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
@@ -12,13 +12,8 @@
<IsA>app:console</IsA> <IsA>app:console</IsA>
<Summary>Various utilities dealing with the PCI bus</Summary> <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> <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> <Archive sha1sum="f7d6860ffe405b4ebb23b013866a64c9f80c2fa3" type="tarxz">https://mirrors.edge.kernel.org/pub/software/utils/pciutils/pciutils-3.7.0.tar.xz</Archive>
<AdditionalFiles> <Archive sha1sum="dceac2605b238cb558aa2e80b0a4686e5a8eab74" type="binary" target="pciutils-3.7.0">https://github.com/pciutils/pciids/raw/master/pci.ids</Archive>
<!-- 20100714
from: http://pciids.sourceforge.net/v2.2/pci.ids
-->
<AdditionalFile target="pci.ids">pci.ids</AdditionalFile>
</AdditionalFiles>
<BuildDependencies> <BuildDependencies>
<Dependency>eudev-devel</Dependency> <Dependency>eudev-devel</Dependency>
<Dependency>libkmod-devel</Dependency> <Dependency>libkmod-devel</Dependency>
@@ -27,9 +22,6 @@
<!-- Disable gz support of pciids file --> <!-- Disable gz support of pciids file -->
<Patch level="1">pciutils-nogz.patch</Patch> <Patch level="1">pciutils-nogz.patch</Patch>
<Patch level="1">pciutils-3.1.9-static-pc.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> </Patches>
</Source> </Source>
@@ -44,7 +36,7 @@
<Path fileType="executable">/usr/sbin</Path> <Path fileType="executable">/usr/sbin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/misc</Path> <Path fileType="data">/usr/share/hwdata</Path>
</Files> </Files>
</Package> </Package>
@@ -62,6 +54,13 @@
</Package> </Package>
<History> <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"> <Update release="8">
<Date>2020-12-09</Date> <Date>2020-12-09</Date>
<Version>3.7.0</Version> <Version>3.7.0</Version>
@@ -76,7 +75,7 @@
<Name>Mustafa Cinasal</Name> <Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email> <Email>muscnsl@gmail.com</Email>
</Update> </Update>
<Update release="6"> <Update release="6">
<Date>2019-12-26</Date> <Date>2019-12-26</Date>
<Version>3.6.2</Version> <Version>3.6.2</Version>
<Comment>Rebuild</Comment> <Comment>Rebuild</Comment>