actions.py 682 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Copyright 2013 Alokin Software Pvt Ltd.
  5. # Licensed under the GNU General Public License, version 2.
  6. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
  7. from pisi.actionsapi import autotools
  8. from pisi.actionsapi import shelltools
  9. from pisi.actionsapi import pisitools
  10. from pisi.actionsapi import get
  11. def setup():
  12. autotools.configure()
  13. pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
  14. def build():
  15. autotools.make("-j1")
  16. def install():
  17. autotools.rawInstall('DESTDIR=%s' % get.installDIR())
  18. pisitools.dodoc("ChangeLog", "CREDITS", "NEWS", "README.postgis", "STYLE", "TODO")