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")
|
||||
|
||||
Reference in New Issue
Block a user