actions.py 532 B

1234567891011121314151617181920212223
  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/licenses/gpl.txt
  6. from pisi.actionsapi import mesontools
  7. from pisi.actionsapi import pisitools
  8. def setup():
  9. mesontools.configure("--sbindir=/usr/bin \
  10. -Dudevrulesdir=/lib/udev/rules.d")
  11. def build():
  12. mesontools.build()
  13. def check():
  14. mesontools.build("test")
  15. def install():
  16. mesontools.install()
  17. pisitools.dodoc("COPYING", "README*")