Files
main/server/misc/libvncserver/actions.py
T
2015-08-12 10:08:21 +03:00

28 lines
769 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "LibVNCServer-%s" % get.srcVERSION()
def setup():
autotools.configure("--disable-static \
--disable-dependency-tracking \
--with-24bpp \
--with-zlib \
--with-jpeg")
pisitools.dosed("libtool", " -shared ", " -shared -Wl,--as-needed")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.remove("/usr/bin/linuxvnc")