actions.py 719 B

123456789101112131415161718192021
  1. #!/usr/bin/env python3
  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 inary.actionsapi import inarytools
  7. from inary.actionsapi import autotools as tools
  8. from inary.actionsapi import shelltools
  9. from inary.actionsapi import get
  10. #more information : https://gitlab.com/sulinos/inary/tree/master/inary/actionsapi
  11. def setup():
  12. shelltools.system("autoconf")
  13. shelltools.system("autoheader")
  14. tools.configure("--enable-static -disable-zlib --disable-syslog")
  15. def build():
  16. tools.make('PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"')
  17. def install():
  18. tools.rawInstall("DESTDIR=%s" % get.installDIR())