Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 47 lines (40 sloc) 1.777 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

shelltools.export("CFLAGS", "%s -fvisibility=hidden" % get.CFLAGS())
shelltools.export("LDFLAGS", "%s -fvisibility=hidden" % get.LDFLAGS())

def setup():
    autotools.autoreconf("-vfi")
    autotools.configure("--enable-amalgamation \
--enable-valgrind \
--with-internal-maximum-log-level=3 \
--disable-static \
--disable-benchmark \
--disable-install-examples \
--disable-build-examples \
--disable-doc \
--disable-tests \
--enable-default-mempool \
--enable-mempool-chained-pool \
--enable-mempool-pass-through \
--disable-mempool-buddy \
--disable-mempool-ememoa-fixed \
--disable-mempool-ememoa-unknown \
--disable-mempool-fixed-bitmap \
--disable-assert \
--disable-ememoa \
--enable-magic-debug \
--enable-safety-checks")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    #pisitools.removeDir("/usr/bin")
    #pisitools.removeDir("/usr/share")

    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
Something went wrong with that request. Please try again.