actions.py 655 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. #-*- coding:utf-8 -*-
  3. from pisi.actionsapi import autotools
  4. from pisi.actionsapi import libtools
  5. from pisi.actionsapi import get
  6. from pisi.actionsapi import pisitools
  7. def setup():
  8. autotools.aclocal("-I m4")
  9. libtools.libtoolize("--force --copy")
  10. autotools.autoheader()
  11. autotools.automake("--add-missing --copy -Wno-portability")
  12. autotools.autoconf()
  13. autotools.rawConfigure("--prefix=/usr --enable-threads")
  14. def build():
  15. autotools.make()
  16. def install():
  17. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  18. pisitools.dosym("/usr/share/gnubg/pixmaps/gnubg-big.png", "/usr/share/pixmaps/gnubg-big.png")