actions.py 577 B

1234567891011121314151617181920
  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 inary.actionsapi import autotools
  7. from inary.actionsapi import inarytools
  8. from inary.actionsapi import shelltools
  9. from inary.actionsapi import get
  10. def build():
  11. autotools.make("allyesconfig")
  12. autotools.make("toybox")
  13. def install():
  14. shelltools.system("pwd")
  15. shelltools.system("mkdir -p {}/bin/".format(get.installDIR()))
  16. shelltools.system("install toybox {}/bin/toybox".format(get.installDIR()))