actions.py 570 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 https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import autotools, pisitools, get
  7. def setup():
  8. autotools.configure("--enable-shared --enable-linginfo --enable-fatverb")
  9. def build():
  10. autotools.make("PERL_USE_UNSAFE_INC=1 hunspell")
  11. def install():
  12. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  13. pisitools.insinto("/usr/share/hunspell", "he.aff", "he_IL.aff")
  14. pisitools.insinto("/usr/share/hunspell", "he.dic", "he_IL.dic")