actions.py 606 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env 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 shelltools
  9. from pisi.actionsapi import mesontools
  10. from pisi.actionsapi import get
  11. JAVA_HOME = "/usr/lib/jvm/java-8-openjdk"
  12. shelltools.export("JAVA_HOME", JAVA_HOME)
  13. def setup():
  14. mesontools.configure()
  15. def build():
  16. mesontools.build()
  17. def install():
  18. mesontools.install()
  19. pisitools.dodoc("CHANGELOG", "COPYING", "README*")