actions.py 760 B

123456789101112131415161718192021
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Copyright 2019 TUBITAK/UEKAE
  5. # Licensed under the GNU General Public License, version 2.
  6. # See the file http://www.gnu.org/copyleft/gpl.txt.
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import autotools
  9. from pisi.actionsapi import get
  10. def install():
  11. autotools.rawInstall("DESTDIR=%s MANDIR=/usr/share/man FIRMWARE_PATH=/lib/firmware CRDA_KEY_PATH=/etc/wireless-regdb/pubkeys" % get.installDIR())
  12. #pisitools.insinto("/usr/lib/crda/", "regulatory.bin")
  13. #pisitools.insinto("/lib/firmware", "regulatory.db*")
  14. #pisitools.insinto("/etc/wireless-regdb/pubkeys", "sforshee.key.pub.pem")
  15. #pisitools.doman("regulatory.db.5")
  16. pisitools.dodoc("LICENSE", "README", "CONTRIBUTING")