actions.py 726 B

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/python
  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 pisi.actionsapi import autotools
  10. from pisi.actionsapi import pisitools
  11. from pisi.actionsapi import libtools
  12. from pisi.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. pisitools.dodoc("ChangeLog", "AUTHORS", "README", "TODO")