Files
main/programming/misc/physfs/actions.py
T
2018-09-09 20:17:24 +03:00

29 lines
870 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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DPHYSFS_BUILD_STATIC=OFF \
-DPHYSFS_BUILD_SHARED=ON \
-DPHYSFS_ARCHIVE_7Z=OFF \
-DPHYSFS_BUILD_TEST=OFF \
-DPHYSFS_BUILD_WX_TEST=OFF \
-DPHYSFS_INTERNAL_ZLIB=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr ")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall('DESTDIR="%s"' % get.installDIR())
pisitools.dodoc("README*", "LICENSE*")