actions.py 731 B

12345678910111213141516171819202122232425
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/licenses/gpl.txt
  5. from pisi.actionsapi import autotools
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import get
  8. def setup():
  9. autotools.configure("\
  10. --disable-static \
  11. --disable-silent-rules \
  12. --with-systemd-unit-dir=no \
  13. --with-udev-rules-dir=/lib/udev/rules.d \
  14. --enable-debug \
  15. ")
  16. def build():
  17. autotools.make()
  18. def install():
  19. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  20. pisitools.dodoc("AUTHORS", "ChangeLog", "GPL")