actions.py 746 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 https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. i = "--disable-dependency-tracking \
  10. --disable-clutter \
  11. --enable-wayland \
  12. --enable-tray-plugin \
  13. --enable-notify-plugin \
  14. --enable-mpris2-plugin \
  15. "
  16. def setup():
  17. autotools.configure(i)
  18. pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
  19. def build():
  20. autotools.make()
  21. def install():
  22. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  23. pisitools.dodoc("AUTHORS", "NEWS", "README.md", "THANKS", "TODO")