xmoto:add repo
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.system("./bootstrap")
|
||||
shelltools.system("rm -r src/ode")
|
||||
shelltools.export("CPPFLAGS", "-D_GLIBCXX_USE_CXX11_ABI=0")
|
||||
autotools.autoreconf("-vfi")
|
||||
autotools.configure("--prefix=/usr \
|
||||
--disable-sdltest \
|
||||
--with-internal-xdg=1")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
|
||||
pisitools.insinto("/usr/share/applications", "extra/xmoto.desktop")
|
||||
pisitools.insinto("/usr/share/pixmaps", "extra/xmoto.xpm")
|
||||
Reference in New Issue
Block a user