Files
main/desktop/kde/kde5-framework/kde5-kcodecs/actions.py
T
2015-06-17 19:24:08 +02:00

26 lines
817 B
Python
Executable File

#!/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 pisitools
from pisi.actionsapi import cmaketools
def setup():
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
-DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
-DLIB_INSTALL_DIR=lib \
-DQML_INSTALL_DIR=lib/qt5/qml \
-DLOCALE_INSTALL_DIR=/usr/share/locale \
-DBUILD_TESTING=OFF")
def build():
cmaketools.make()
def install():
cmaketools.install()
pisitools.dodoc("README.md", "COPYING", "COPYING.LIB")