actions.py 981 B

12345678910111213141516171819202122232425262728293031
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/copyleft/gpl.txt
  5. from pisi.actionsapi import autotools
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import mesontools
  8. from pisi.actionsapi import get
  9. def setup():
  10. pisitools.dosed("data/org.freedesktop.Accounts.service.in", "SystemdService", deleteLine=True)
  11. mesontools.configure("--prefix=/usr \
  12. -Dsystemdsystemunitdir=no \
  13. -Dadmin_group=wheel \
  14. -Ddocbook=true \
  15. -Dgtk_doc=true \
  16. -Delogind=true \
  17. -Dvapi=false \
  18. --libexecdir=/usr/libexec")
  19. def build():
  20. mesontools.build()
  21. def install():
  22. mesontools.install()
  23. #shelltools.cd("..")
  24. pisitools.dodoc("README*", "COPYING", "TODO", "AUTHORS")