Files
2025-02-09 12:19:37 +03:00

31 lines
699 B
Python
Executable File

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "%s-%s/build/linux" % (get.srcNAME(), get.srcVERSION())
y = ''.join([
' --prefix=/usr',
' --chroma-format=\'all\'',
' --extra-ldflags=\'-Wl,-z,noexecstack\'',
' --enable-shared',
' --disable-static '
])
def setup():
autotools.rawConfigure(y)
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("../../COPYING")