actions.py 583 B

12345678910111213141516171819202122
  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/copyleft/gpl.txt.
  6. from inary.actionsapi import autotools
  7. from inary.actionsapi import inarytools
  8. def setup():
  9. autotools.autoreconf("-fi")
  10. autotools.configure("--disable-static \
  11. --enable-theora \
  12. --enable-speex")
  13. inarytools.dosed("src/tls.c", 'SSLeay_add_all_algorithms','OpenSSL_add_all_algorithms')
  14. def build():
  15. autotools.make()
  16. def install():
  17. autotools.install()