21 lines
567 B
Python
21 lines
567 B
Python
#!/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 get
|
|
|
|
|
|
def build():
|
|
autotools.make('verbose=1 CXXFLAGS="%s"' % get.CXXFLAGS())
|
|
|
|
def install():
|
|
autotools.rawInstall("install_prefix=%s/usr" % get.installDIR())
|
|
|
|
# Fix conflicts with mono
|
|
pisitools.rename("/usr/bin/xsd", "xsdcxx")
|
|
pisitools.rename("/usr/share/man/man1/xsd.1", "xsdcxx.1")
|