Files
2019-10-30 00:43:29 +03:00

28 lines
750 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/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.export("CFLAGS", "%s -fPIC" % get.CFLAGS())
for i in ["NEWS", "AUTHORS", "COPYING"]:
shelltools.touch(i)
autotools.autoreconf("-vfi")
autotools.configure("--disable-dependency-tracking \
--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE", "ChangeLog", "README*")