usbutils usb.ids.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user