actions.py 809 B

1234567891011121314151617181920212223242526
  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 shelltools
  6. from pisi.actionsapi import cmaketools
  7. from pisi.actionsapi import get
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import autotools
  10. def setup():
  11. #shelltools.export("AUTOPOINT", "true")
  12. #autotools.autoreconf("-fiv")
  13. autotools.configure("--disable-static \
  14. --enable-nls \
  15. --enable-startup-notification \
  16. --docdir=/%s/%s" % (get.docDIR(), get.srcNAME()))
  17. def build():
  18. autotools.make()
  19. def install():
  20. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  21. pisitools.dodoc("AUTHORS", "COPYING", "README")