actions.py 464 B

1234567891011121314151617181920212223
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import autotools, get
  7. i = ''.join([
  8. ' --disable-hfst',
  9. ' --disable-static',
  10. ' --with-dictionary-path=/usr/share/voikko '
  11. ])
  12. def setup():
  13. autotools.configure(i)
  14. def build():
  15. autotools.make()
  16. def install():
  17. autotools.rawInstall("DESTDIR=%s" % get.installDIR())