diff --git a/system/base/pciutils/actions.py b/system/base/pciutils/actions.py index 1424c93e..5f25c052 100644 --- a/system/base/pciutils/actions.py +++ b/system/base/pciutils/actions.py @@ -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") diff --git a/system/base/pciutils/pspec.xml b/system/base/pciutils/pspec.xml index 8f6954ce..32dee750 100644 --- a/system/base/pciutils/pspec.xml +++ b/system/base/pciutils/pspec.xml @@ -1,9 +1,9 @@ - + pciutils - http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html + https://mj.ucw.cz/sw/pciutils/ PisiLinux Community admins@pisilinux.org @@ -12,13 +12,8 @@ app:console Various utilities dealing with the PCI bus The PCI Utilities are a collection of programs for inspecting and manipulating configuration of PCI devices. - https://ftp.osuosl.org/pub/blfs/conglomeration/pciutils/pciutils-3.7.0.tar.xz - - - pci.ids - + https://mirrors.edge.kernel.org/pub/software/utils/pciutils/pciutils-3.7.0.tar.xz + https://github.com/pciutils/pciids/raw/master/pci.ids eudev-devel libkmod-devel @@ -27,9 +22,6 @@ pciutils-nogz.patch pciutils-3.1.9-static-pc.patch - - - @@ -44,7 +36,7 @@ /usr/sbin /usr/lib /usr/share/man - /usr/share/misc + /usr/share/hwdata @@ -62,6 +54,13 @@ + + 2021-11-27 + 3.7.0 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2020-12-09 3.7.0 @@ -76,7 +75,7 @@ Mustafa Cinasal muscnsl@gmail.com - + 2019-12-26 3.6.2 Rebuild