actions.py 981 B

1234567891011121314151617181920212223242526272829303132
  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/copyleft/gpl.txt
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. from pisi.actionsapi import shelltools
  10. def setup():
  11. autotools.configure("--prefix=/usr \
  12. --with-libsecret \
  13. --with-libsoup \
  14. --with-gtksourceview \
  15. --with-goocanvas \
  16. --disable-static \
  17. --enable-json \
  18. --with-graphviz \
  19. --with-ui \
  20. --enable-system-sqlite \
  21. --enable-vala")
  22. pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
  23. def build():
  24. autotools.make()
  25. def install():
  26. autotools.rawInstall("DESTDIR=%s" % get.installDIR())