actions.py 959 B

1234567891011121314151617181920212223242526272829303132
  1. #!/usr/bin/env 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. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. from pisi.actionsapi import get
  10. def setup():
  11. #shelltools.system("./bootstrap")
  12. autotools.configure("--enable-jpeg \
  13. --enable-tjpeg \
  14. --enable-pam-config=unix \
  15. --enable-fuse \
  16. --enable-opus \
  17. --enable-rfxcodec \
  18. --enable-mp3lame \
  19. --enable-pixman=yes \
  20. --enable-painter \
  21. --enable-vsock")
  22. def build():
  23. autotools.make()
  24. def install():
  25. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  26. pisitools.dodoc("NEWS*", "COPYING", "README*")