Files
2023-07-20 11:31:45 +03:00

37 lines
877 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 shelltools
from pisi.actionsapi import get
#import os
j = ''.join([
' --with-lzo2',
' --disable-static '
])
def setup():
# shelltools.system("patch -p1 -R < 1723.patch")
autotools.autoreconf("-fi")
autotools.configure(j)
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
#def check():
#autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dosed("%s/usr/lib/pkgconfig/libarchive.pc" % get.installDIR(), "iconv", "")
pisitools.dodoc("COPYING","NEWS")