alienarena ported form pisi 1.2 build and check

This commit is contained in:
groni
2015-10-19 15:38:28 +02:00
parent 4e45bcd553
commit 108ab9bd2c
6 changed files with 163 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
shelltools.export("PTHREAD_LIBS", "-lpthread")
shelltools.export("PTHREAD_CFLAGS", "-pthread")
def setup():
# Use system libopenal
pisitools.dosed("source/unix/qal_unix.c", "libopenal.so", "$LIBOPENAL")
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())