actions.py 651 B

1234567891011121314151617181920212223
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import get
  9. from pisi.actionsapi import pisitools
  10. shelltools.export("JOBS", get.makeJOBS().replace("-j", ""))
  11. def setup():
  12. shelltools.system("python waf configure --prefix=/usr")
  13. def build():
  14. shelltools.system("python waf build -v")
  15. def install():
  16. shelltools.system("DESTDIR=%s python waf install" % get.installDIR())
  17. pisitools.dodoc("AUTHORS", "COPYING", "README","COPYING-*")