glm-1.0.1
This commit is contained in:
@@ -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/*")
|
||||
|
||||
Reference in New Issue
Block a user