glm-1.0.1

This commit is contained in:
uglyside
2025-02-08 22:31:08 +03:00
parent 339c59b10b
commit 5d8b2f2e3f
3 changed files with 25 additions and 640 deletions
+10 -6
View File
@@ -2,17 +2,21 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
i = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DCMAKE_INSTALL_LIBDIR=lib',
' -DBUILD_SHARED_LIBS=ON',
' -DGLM_TEST_ENABLE=ON -L '
])
def setup():
cmaketools.configure("-DGLM_TEST_ENABLE=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib")
cmaketools.configure(i)
def build():
cmaketools.make()
@@ -20,5 +24,5 @@ def build():
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("readme.md", "copying.txt", "doc/manual.pdf")
pisitools.dodoc("copying.txt", "doc/manual.pdf")
pisitools.dohtml("doc/*")