actions.py 695 B

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import autotools, pisitools, get
  7. i = ''.join([
  8. ' --with-python',
  9. ' --with-swig',
  10. ' --disable-nls',
  11. ' --disable-gnome',
  12. ' --disable-static '
  13. ' --disable-hardbooks',
  14. ])
  15. def setup():
  16. #pisitools.dosed("Makefile.in", "samples po sheets", "samples sheets")
  17. autotools.configure(i)
  18. def build():
  19. autotools.make()
  20. def install():
  21. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  22. pisitools.removeDir("/usr/share/man/fr")
  23. pisitools.dodoc("AUTHORS", "MAINTAINERS", "NEWS", "THANKS")