1234567891011121314151617181920212223242526272829 |
- #!/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*")
|