actions.py 671 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/copyleft/gpl.txt
  5. from inary.actionsapi import cmaketools
  6. from inary.actionsapi import inarytools
  7. from inary.actionsapi import shelltools
  8. from inary.actionsapi import get
  9. def setup():
  10. cmaketools.configure("-DBUILD_SHARED_LIBS=1")
  11. def build():
  12. cmaketools.make()
  13. def install():
  14. cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
  15. inarytools.insinto("/usr/include", "include/*")
  16. inarytools.insinto("/usr/include", "helpers/memenv/memenv.h")
  17. inarytools.dodoc("README.md", "LICENSE", "NEWS", "AUTHORS")