actions.py 714 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Copyright (C) 2018 Suleyman POYRAZ (Zaryob)
  5. # Licensed under the GNU General Public License, version 2.
  6. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
  7. from inary.actionsapi import autotools
  8. from inary.actionsapi import inarytools
  9. from inary.actionsapi import get
  10. def setup():
  11. autotools.autoconf("-f")
  12. autotools.configure("--with-jobdir=/var/spool/at \
  13. --with-atspool=/var/spool/at/spool \
  14. --with-daemon_username=root \
  15. --with-daemon_groupname=root")
  16. def build():
  17. autotools.make()
  18. def install():
  19. autotools.rawInstall("IROOT=%s" % get.installDIR())