actions.py 911 B

12345678910111213141516171819202122232425262728293031323334
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Copyright 2014 TUBITAK/UEKAE
  5. # Licensed under the GNU General Public License, version 2.
  6. # See the file http://www.gnu.org/copyleft/gpl.txt.
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import autotools
  9. from pisi.actionsapi import pisitools
  10. from pisi.actionsapi import get
  11. # WorkDir = ""
  12. # NoStrip = "/"
  13. shelltools.export("JOBS", get.makeJOBS().replace("-j5", "-j4"))
  14. def setup():
  15. autotools.rawConfigure("--prefix=/usr \
  16. --shared-libuv \
  17. --shared-openssl \
  18. --shared-nghttp2 \
  19. --shared-zlib \
  20. --with-intl=system-icu \
  21. ")
  22. def build():
  23. autotools.make()
  24. def install():
  25. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  26. pisitools.dodoc("LICENSE", "README*")