actions.py 910 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env 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 autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. def setup():
  10. autotools.configure("--prefix=/usr \
  11. --enable-external-ell \
  12. --disable-systemd-service \
  13. --localstatedir=/var \
  14. --with-dbus-busdir=/usr/share/dbus-1 \
  15. --enable-ofono \
  16. --enable-wired \
  17. --enable-hwsim \
  18. --enable-tools")
  19. def build():
  20. autotools.make()
  21. def install():
  22. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  23. pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README*")