actions.py 932 B

1234567891011121314151617181920212223242526272829303132333435
  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 pisitools
  8. from pisi.actionsapi import libtools
  9. from pisi.actionsapi import get
  10. def setup():
  11. libtools.libtoolize("--force --copy")
  12. autotools.autoreconf("-fi")
  13. autotools.configure("--localstatedir=/var \
  14. --enable-bash-completion \
  15. --disable-doxygen-docs \
  16. --enable-gtk-doc=no \
  17. --enable-gtk-doc-html=no \
  18. --disable-static")
  19. def build():
  20. autotools.make()
  21. def check():
  22. autotools.make("check")
  23. def install():
  24. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  25. pisitools.removeDir("/usr/share/gtk-doc")
  26. pisitools.dodoc("AUTHORS", "NEWS", "README*")