physfs: aded to main

This commit is contained in:
suvari
2016-04-11 20:37:33 +03:00
parent af3825035b
commit 668bcd67fa
7 changed files with 151 additions and 2 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/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("CHANGELOG.txt", "CREDITS.txt", "TODO.txt")