actions.py 795 B

1234567891011121314151617181920212223242526272829
  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 shelltools
  7. from pisi.actionsapi import autotools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import get
  10. WorkDir = "dvdauthor"
  11. def setup():
  12. # disable ImageMagick, use GraphicsMagick
  13. #shelltools.export("MAGICKCONFIG", "/bin/true")
  14. autotools.autoreconf("-fiv")
  15. autotools.configure("--disable-rpath \
  16. --with-graphicsmagick \
  17. --enable-default-video-format=NTSC")
  18. def build():
  19. autotools.make()
  20. def install():
  21. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  22. pisitools.dodoc("AUTHORS", "ChangeLog", "README")