actions.py 676 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
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. j = "--enable-backup \
  10. --enable-printing \
  11. --with-notes \
  12. --with-tasks \
  13. --with-contacts \
  14. "
  15. def setup():
  16. pisitools.cflags.add("-Wno-pointer-sign -Wno-unused-result")
  17. autotools.configure(j)
  18. def build():
  19. autotools.make()
  20. def install():
  21. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  22. pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "FAQ", "README", "TRANSLATORS")