actions.py 763 B

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/env python3
  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 inary.actionsapi import autotools
  7. from inary.actionsapi import shelltools
  8. from inary.actionsapi import get
  9. from inary.actionsapi import inarytools
  10. def setup():
  11. autotools.configure("--enable-nls \
  12. --program-prefix=g")
  13. def build():
  14. autotools.make()
  15. #def check():
  16. #shelltools.export("LANG", "C")
  17. #autotools.make("check")
  18. def install():
  19. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  20. inarytools.dosym("gmake", "/usr/bin/make")
  21. inarytools.dosym("gmake.1","/usr/share/man/man1/make.1")
  22. inarytools.dodoc("AUTHORS", "NEWS", "README*")