27 lines
533 B
Python
27 lines
533 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from pisi.actionsapi import autotools
|
|
from pisi.actionsapi import pisitools
|
|
from pisi.actionsapi import get
|
|
|
|
def setup():
|
|
autotools.configure("--prefix=/usr --enable-gtk3=no")
|
|
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
|
|
|
def build():
|
|
autotools.make()
|
|
|
|
def install():
|
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
|
|
|
pisitools.dodoc("AUTHORS", \
|
|
"ChangeLog", \
|
|
"COPYING", \
|
|
"HACKING", \
|
|
"INSTALL", \
|
|
"NEWS", \
|
|
"README*", \
|
|
"THANKS", \
|
|
"TODO")
|