Exemple #1
0
def build():
    autotools.make("lnp EXTRAAUTHENTICATORS=gss SSLTYPE=unix.nopwd  \
            EXTRACFLAGS=\"%s\" " % get.CFLAGS())
Exemple #2
0
def build():
    autotools.make('CXXFLAGS="%s -fpermissive" \
                    CFLAGS="%s"' % (get.CXXFLAGS(), get.CFLAGS()))
Exemple #3
0
def build():
    pisitools.dosed("Jamconfig", "-O3", get.CFLAGS())
    pisitools.dosed("Jamconfig", "/usr/local/lib", "/usr/lib")

    autotools.make()
Exemple #4
0
def setup():
    cflags = "%s -fPIC" % get.CFLAGS()
    shelltools.export("CFLAGS", cflags)

    autotools.configure("--disable-static")
Exemple #5
0
def setup():
    shelltools.export("CXXFLAGS", "%s -DUSE_STATIC_CONF" % get.CFLAGS())

    autotools.autoconf()
    autotools.configure("--without-scglib")
Exemple #6
0
def build():
    autotools.make("CFLAGS='%s'" % get.CFLAGS())
Exemple #7
0
def build():
    autotools.make("CFLAGS=\"%s\"" % (get.CFLAGS()))
Exemple #8
0
def setup():
    shelltools.export("CXXFLAGS", get.CXXFLAGS())
    shelltools.export("CFLAGS", get.CFLAGS())
    autotools.configure("--enable-static=no")
Exemple #9
0
def build():
    autotools.make('CC="%s" CFLAGS="%s" SKIPDIRS="patches"' % (get.CC(),get.CFLAGS()))
Exemple #10
0
def build():
    shelltools.export("CC", get.CC())
    shelltools.export("OS_CFLAGS",
                      get.CFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))
    autotools.make()
Exemple #11
0
def build():
    shelltools.export("CFLAGS", "%s -I/usr/include/gssapi" % get.CFLAGS())
    autotools.make()
Exemple #12
0
def build():
    autotools.make('OPT="%s" HAVE_LIBIDN=1' % get.CFLAGS())
Exemple #13
0
def setup():
    shelltools.export("CFLAGS", "%s -O2" % get.CFLAGS())
    autotools.configure("--disable-static \
                         --disable-gtk-doc")
Exemple #14
0
def setup():
    pisitools.dosed("configure.in", "CFLAGS=\"-Wno-long-long\"", "CFLAGS=\"%s -Wno-long-long\"" % get.CFLAGS())
    # enlarges it from1GB - 128MB = 896MB and decreases the size of the kernel address space
    pisitools.dosed("configure.in", "valt_load_address_normal=\"0xb0000000\"", "valt_load_address_normal=\"0x30000000\"")
    pisitools.dosed("docs/Makefile.am", "doc/valgrind/", "doc/%s/" % get.srcTAG())

    autotools.autoconf()
    autotools.aclocal()
    autotools.automake()

    autotools.configure("--with-x \
                         --without-mpicc")
Exemple #15
0
#!/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

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

def setup():
    shelltools.export("AUTOPOINT", "/bin/true")

#    autotools.autoreconf()
    autotools.configure("--disable-static \
                         --with-internal-maximum-log-level=3 \
                         --enable-glib \
                         --enable-ecore-x-composite \
                         --enable-ecore-x-damage \
                         --enable-ecore-x-dpms \
                         --enable-ecore-x-randr \
                         --enable-ecore-x-render \
                         --enable-ecore-x-screensaver \
                         --enable-ecore-x-shape \
                         --enable-ecore-x-gesture \
                         --enable-ecore-x-sync \
                         --enable-ecore-x-xfixes \
Exemple #16
0
def setup():
    pisitools.dosed("lpsolve55/ccc", "^opts.*", "opts='%s'" % get.CFLAGS())
    pisitools.dosed("lp_solve/ccc", "^opts.*", "opts='%s'" % get.CFLAGS())
Exemple #17
0
def setup():
    shelltools.export("QT5LINK", "/usr/lib/qt5/bin")
    shelltools.export("QT5DIR", "/usr/lib/qt5")
    shelltools.export("CFLAGS", "%s -I/usr/lib/sqlite3.11.0.0" % get.CFLAGS())
    shelltools.system(
        "qmake-qt5 WEBENGINE_CONFIG+=use_proprietary_codecs qtwebengine.pro")
Exemple #18
0
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyleft 2012 Pardus ANKA Community
# Copyright 2005-2011 TUBITAK/UEAKE
# 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

shelltools.export("CFLAGS", get.CFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))


def setup():
    shelltools.system("./autogen.sh")
    autotools.autoreconf("-vfi")
    shelltools.cd("mediastreamer2")
    autotools.autoreconf("-vfi")
    shelltools.cd("..")
    autotools.rawConfigure("--enable-shared \
                            --disable-static \
                            --disable-strict \
                            --enable-external-ortp \
                            --enable-nonstandard-gsm \
                            --enable-rsvp \
                            --enable-ssl \
                            --enable-portaudio \
                            --enable-video \
Exemple #19
0
#!/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 get

# disable_ld_no_undefined is enable..
shelltools.export("JOBS", "1")

shelltools.export("CFLAGS", get.CFLAGS())
shelltools.export("CXXFLAGS", get.CXXFLAGS())
shelltools.export("LINKFLAGS", get.LDFLAGS())

def setup():
    shelltools.system("./waf configure \
                       --prefix=/usr \
                       --enable-nls \
                       --update-po \
                       --enable-docs \
                       --enable-apidocs  \
                       --enable-unique \
                       --enable-libidn \
                       --disable-vala \
                       --enable-libnotify \
                       --enable-addons \
                       --disable-hildon")

def build():
Exemple #20
0
def setup():
    pisitools.dosed("Makefile", "(?m)^(CC.*)gcc", r"\1%s" % get.CC())
    pisitools.dosed("Makefile", "(?m)^(LDFLAGS.*)-s", r"\1%s" % get.LDFLAGS())
    pisitools.dosed("Makefile", "(?m)^(CFLAGS.*)-O2", r"\1%s" % get.CFLAGS())
Exemple #21
0
def build():
    autotools.make('CFLAGS="%s" CXXFLAGS="%s" CC="%s" CXX="%s"' %
                   (get.CFLAGS(), get.CXXFLAGS(), get.CC(), get.CXX()))
Exemple #22
0
def build():
    autotools.make("CC=%s CFLAGS='%s -fPIC' LDFLAGS='%s'" %
                   (get.CC(), get.CFLAGS(), get.LDFLAGS()))
Exemple #23
0
# -*- 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 pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import scons
from pisi.actionsapi import get

import os

datadir = "/usr/share/pingus"
flags = {"CC": get.CC(), \
         "CXX": get.CXX(), \
         "CCFLAGS": get.CFLAGS(), \
         "CPPFLAGS": get.CXXFLAGS(), \
         "LINKFLAGS": get.LDFLAGS()}


def fixperms(d):
    for root, dirs, files in os.walk(d):
        for name in dirs:
            shelltools.chmod(os.path.join(root, name), 0755)
        for name in files:
            shelltools.chmod(os.path.join(root, name), 0644)


def build():
    scons.make('PREFIX="/usr" \
                CC="%(CC)s" \
Exemple #24
0
def setup():
    autotools.autoreconf("-ifv")
    shelltools.export("CFLAGS", get.CFLAGS().replace("-fstack-protector",""))
    shelltools.export("CPPFLAGS", get.CXXFLAGS().replace("-fstack-protector",""))
    autotools.configure("--without-mpicc --libexecdir=/usr/lib")
Exemple #25
0
def build():
    autotools.make('CC="%s" \
                    CFLAGS="%s -O3 %s"' %
                   (get.CC(), get.CFLAGS(), get.LDFLAGS()))
Exemple #26
0
def build():
    autotools.make("-C src CXXFLAGS='%s' CFLAGS='%s' LDFLAGS='%s'" %
                   (get.CXXFLAGS(), get.CFLAGS(), get.LDFLAGS()))

    shelltools.system("./compile-voices")
Exemple #27
0
def setup():
    pisitools.dosed("build.vars", "pardusCFLAGS", get.CFLAGS())
    pisitools.dosed("build.vars", "pardusLDFLAGS", get.LDFLAGS())
Exemple #28
0
def build():
    autotools.make("CC=%s CFLAGS=\"%s -fPIC\"" % (get.CC(), get.CFLAGS()))
Exemple #29
0
def build():
    autotools.make("CXXFLAGS=\"%s\" CFLAGS=\"%s\" all -j1" %
                   (get.CXXFLAGS(), get.CFLAGS()))
Exemple #30
0
def setup():
    pisitools.dosed("Makefile.unix", "/usr/local", "$(DESTDIR)/usr")
    pisitools.dosed("Makefile.unix", "-DUNIX -O", "-DUNIX %s" % get.CFLAGS())
    shelltools.move("Makefile.unix", "Makefile")