actions.py 737 B

123456789101112131415161718192021222324252627282930
  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/licenses/gpl.txt
  6. #
  7. # taken from
  8. # svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread
  9. from inary.actionsapi import autotools
  10. from inary.actionsapi import inarytools
  11. from inary.actionsapi import libtools
  12. from inary.actionsapi import get
  13. def setup():
  14. libtools.libtoolize("--force --install")
  15. autotools.autoreconf("-vfi")
  16. autotools.configure("--with-libdvdcss=/usr \
  17. --disable-static")
  18. def build():
  19. autotools.make()
  20. def install():
  21. autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
  22. inarytools.dodoc("ChangeLog", "AUTHORS", "README", "TODO")