actions.py 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import cmaketools
  9. from pisi.actionsapi import get
  10. WorkDir = "libvncserver-LibVNCServer-%s" % get.srcVERSION()
  11. def setup():
  12. #autotools.autoreconf("-vif")
  13. #autotools.configure("--disable-static \
  14. #--disable-dependency-tracking \
  15. #--with-24bpp \
  16. #--with-zlib \
  17. #--with-jpeg")
  18. #pisitools.dosed("libtool", " -shared ", " -shared -Wl,--as-needed")
  19. cmaketools.configure("-DWITH_FFMPEG=OFF \
  20. -DWITH_SASL=OFF \
  21. -DWITH_SDL=OFF \
  22. -DWITH_SYSTEMD=OFF \
  23. ")
  24. def build():
  25. cmaketools.make()
  26. def install():
  27. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  28. #pisitools.remove("/usr/bin/linuxvnc")