actions.py 547 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/python
  2. #!/usr/bin/python
  3. # -*- coding: utf-8 -*-
  4. #
  5. # Licensed under the GNU General Public License, version 3.
  6. # See the file http://www.gnu.org/licenses/gpl.txt
  7. from pisi.actionsapi import get
  8. from pisi.actionsapi import autotools
  9. from pisi.actionsapi import pisitools
  10. def setup():
  11. autotools.autoreconf("-vif")
  12. autotools.configure()
  13. def build():
  14. autotools.make()
  15. def check():
  16. autotools.make("check")
  17. def install():
  18. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  19. pisitools.dodoc("COPYING", "README")