actions.py 596 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 2.
  5. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
  6. from inary.actionsapi import autotools
  7. from inary.actionsapi import get
  8. from inary.actionsapi import inarytools
  9. from inary.actionsapi import shelltools
  10. WORKDIR="fish-shell-3.0.2"
  11. def setup():
  12. shelltools.system("autoreconf -fiv")
  13. autotools.configure("docdir=/%s/%s" % (get.docDIR(), get.srcNAME()))
  14. def build():
  15. autotools.make()
  16. def install():
  17. autotools.rawInstall("DESTDIR=%s" % get.installDIR())