actions.py 838 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. #from pisi.actionsapi import shelltools
  7. #from pisi.actionsapi import cmaketools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import autotools
  10. from pisi.actionsapi import get
  11. j = "-DCMAKE_INSTALL_PREFIX=/usr \
  12. -DCMAKE_BUILD_TYPE=Release \
  13. "
  14. def setup():
  15. # cmaketools.configure(j)
  16. autotools.autoreconf("-fiv")
  17. autotools.configure("--disable-static")
  18. def build():
  19. # cmaketools.make()
  20. autotools.make()
  21. def check():
  22. pass
  23. def install():
  24. # cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
  25. # cmaketools.install()
  26. # shelltools.cd("include")
  27. # pisitools.insinto("/usr/include", "replaygain")
  28. autotools.rawInstall("DESTDIR=%s" % get.installDIR())