actions.py 687 B

123456789101112131415161718192021222324252627
  1. #!/usr/bin/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 get
  9. def setup():
  10. autotools.configure("--enable-shared \
  11. --enable-thread-safe")
  12. def build():
  13. autotools.make()
  14. def check():
  15. autotools.make("check")
  16. def install():
  17. autotools.install()
  18. #pisitools.dosym("/usr/lib/libmpfr.so.6.1.0", "/usr/lib/libmpfr.so.4.1.5")
  19. #pisitools.dosym("/usr/lib/libmpfr.so.6.1.0", "/usr/lib/libmpfr.so.4")
  20. pisitools.dodoc("NEWS", "README", "TODO")