actions.py 697 B

12345678910111213141516171819202122232425262728
  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 inarytools
  8. from inary.actionsapi import get
  9. def setup():
  10. autotools.autoreconf("-vfi")
  11. autotools.configure()
  12. def build():
  13. autotools.make()
  14. def install():
  15. autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
  16. inarytools.dobin("less")
  17. inarytools.dobin("lessecho")
  18. inarytools.dobin("lesskey")
  19. inarytools.newman("lesskey.nro", "lesskey.1")
  20. inarytools.newman("less.nro", "less.1")
  21. inarytools.dodoc("NEWS", "README", "COPYING")