actions.py 488 B

1234567891011121314151617181920
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 2.
  5. # See the file http://www.gnu.org/copyleft/gpl.txt.
  6. from pisi.actionsapi import autotools, get, pisitools, shelltools
  7. def setup():
  8. shelltools.system("NOCONFIGURE=1 ./autogen.sh")
  9. autotools.configure()
  10. def build():
  11. autotools.make()
  12. def install():
  13. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  14. pisitools.dodoc("AUTHORS", "ChangeLog", "README*", "NEWS")