usbutils usb.ids.

This commit is contained in:
4fury-c3440d8
2021-11-27 02:17:48 +03:00
parent a0197cd701
commit ebdf28fc60
2 changed files with 16 additions and 21 deletions
+4 -10
View File
@@ -2,26 +2,20 @@
# -*- 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 shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("./autogen.sh \
--datadir=/usr/share/misc \
--disable-zlib")
#autotools.configure("--datadir=/usr/share/misc \
#--disable-zlib")
autotools.configure("--datadir=/usr/share/hwdata --disable-zlib")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/usr/share/hwdata", "usb.ids")
#pisitools.removeDir("/usr/sbin")
pisitools.dodoc("NEWS", "README.md")
pisitools.dodoc("NEWS")