actions.py 538 B

12345678910111213141516171819
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/copyleft/gpl.txt
  5. from pisi.actionsapi import autotools
  6. from pisi.actionsapi import get
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. def build():
  10. autotools.make()
  11. def install():
  12. pisitools.insinto("/usr/share/crypthook", "crypthook.so")
  13. shelltools.chmod(get.installDIR() + "/usr/share/crypthook/crypthook.so", mode=0755)
  14. pisitools.dodoc("README*")