actions.py 708 B

12345678910111213141516171819202122232425262728
  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 get
  8. from pisi.actionsapi import autotools
  9. from pisi.actionsapi import pisitools
  10. from pisi.actionsapi import shelltools
  11. def setup():
  12. autotools.configure()
  13. # fix unused direct dependency analysis
  14. pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
  15. def build():
  16. autotools.make("-j1")
  17. def install():
  18. autotools.rawInstall('DESTDIR=%s' % get.installDIR())
  19. pisitools.dodoc("README*", "LICENSE*", "COPYING", "SECURITY*")