示例#1
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")
    
    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
示例#2
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
示例#3
0
def setup():
	autotools.aclocal("-I m4")
	libtools.libtoolize("--force --copy")
	autotools.autoheader()
	autotools.automake("--add-missing --copy -Wno-portability")
	autotools.autoconf()
	autotools.rawConfigure("--prefix=/usr --enable-threads --disable-dependency-tracking")
示例#4
0
def setup():
    pisitools.dosed("saslauthd/auth_rimap.c", "(?m)^(define DEFAULT_REMOTE_SERVICE.*)imap", r"\1 imap2")

    shelltools.export("WANT_AUTOCONF", "2.5")
    
    pisitools.remove("configure")
    pisitools.remove("config.h.in")
    pisitools.remove("autom4te.cache")
    
    autotools.aclocal("-I cmulocal -I config")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure("--with-saslauthd=/var/lib/sasl2 \
                        --with-pwcheck=/var/lib/sasl2  \
                        --with-configdir=/etc/sasl2 \
                        --with-plugindir=/usr/lib/sasl2 \
                        --with-dbpath=/etc/sasl2/sasldb2 \
                        --enable-login \
                        --enable-ntlm \
                        --disable-krb4 \
                        --disable-otp \
                        --disable-static \
                        --with-openssl \
                        --with-pam \
                        --without-ldap \
                        --disable-gssapi \
                        --without-mysql \
                        --disable-mysql \
                        --without-pgsql \
                        --disable-postgres \
                        --disable-java \
                        --without-authdaemond \
                        --disable-sql \
                        --with-dblib=gdbm")
示例#5
0
def setup():
    # Rebuild configure scripts
    shelltools.cd("src")
    autotools.autoheader()
    autotools.autoconf()

    # Rename man pages to regenerate them
    for manpage in open("../manpaths.txt", "r"):
        shelltools.move(manpage.strip(), "%s.in" % manpage.strip())

    shelltools.export("CFLAGS", "-I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all %s" % get.CFLAGS())

    # Fix pthread linking
    pisitools.dosed("configure", "-lthread", "-lpthread")
    pisitools.dosed("configure", "-pthread", "-lpthread")

    # dirsrv or ldap?
    autotools.configure(
        "--with-system-et \
                         --with-system-ss \
                         --with-pam \
                         --with-ldap \
                         --with-netlib=-lresolv \
                         --without-selinux \
                         --without-tcl \
                         --localstatedir=/var/kerberos \
                         --disable-rpath \
                         --enable-shared \
                         --enable-pkinit \
                         --enable-dns-for-realm"
    )

    # Fix krb5-config script to remove rpaths and CFLAGS
    pisitools.dosed("krb5-config", "^CC_LINK=.*", "CC_LINK='$(CC) $(PROG_LIBPATH)'")
示例#6
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("-ac")
    autotools.configure("--disable-static")
示例#7
0
def setup():
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()

    autotools.configure()
示例#8
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("-ac")
    autotools.configure("--disable-static")
示例#9
0
文件: actions.py 项目: suvari/contrib
def setup():
    autotools.aclocal("-I m4")
    libtools.libtoolize("--force --copy")
    autotools.autoheader()
    autotools.automake("--add-missing --copy -Wno-portability")
    autotools.autoconf()
    autotools.rawConfigure("--prefix=/usr --enable-threads")
示例#10
0
def setup():
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()

    autotools.configure()
示例#11
0
def setup():
    libtools.libtoolize("--force --copy")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("--add-missing --copy --gnu")
                        
    autotools.configure("--sbindir=/sbin --libdir=/lib")
示例#12
0
def setup():
    libtools.libtoolize("--force --copy")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("--add-missing --copy --gnu")

    autotools.configure("--sbindir=/sbin --libdir=/lib")
示例#13
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.automake("--add-missing")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure()
示例#14
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoconf()
    autotools.autoheader()
    autotools.automake("--copy --foreign --add-missing")

    autotools.configure()
示例#15
0
def setup():
    autotools.autoreconf("-vif")
    autotools.autoconf()
    libtools.libtoolize("--copy --force")
    libtools.libtoolize("--automake")
    autotools.aclocal("-I m4")
    autotools.autoheader()
    autotools.configure("--disable-static \
						 --docdir=/usr/share/doc/maloc")
示例#16
0
def setup():
	autotools.autoreconf("-vif")
	autotools.autoconf()
	libtools.libtoolize("--copy --force")
	libtools.libtoolize("--automake")
	autotools.aclocal("-I m4")
	autotools.autoheader()
	autotools.configure("--disable-static \
						 --docdir=/usr/share/doc/maloc")
示例#17
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")
    shelltools.export("WANT_AUTOMAKE", "1.7")

    autotools.aclocal("-I m4")
    autotools.autoheader()
    autotools.automake("-afc")
    autotools.autoconf()

    libtools.libtoolize("--copy --force")

    flags = "-mcpu=i686 \
             -O2 \
             -pipe \
             -frename-registers \
             -fomit-frame-pointer \
             -mno-sse \
             -ffunction-sections"

    shelltools.export("CFLAGS", "%s %s" % (get.CFLAGS(), flags))
    shelltools.export("CXXFLAGS", "%s %s" % (get.CXXFLAGS(), flags))

    autotools.configure(
        "--enable-nls \
                         --disable-gnome \
                         --disable-altivec \
                         --disable-speex \
                         --enable-ipv6 \
                         --enable-samba \
                         --enable-mng \
                         --enable-png \
                         --enable-faad \
                         --enable-flac \
                         --with-ogg \
                         --with-vorbis \
                         --with-x \
                         --enable-xinerama \
                         --disable-vidix \
                         --disable-dxr3 \
                         --enable-directfb \
                         --enable-fb \
                         --enable-opengl \
                         --enable-aalib \
                         --enable-caca \
                         --enable-sdl \
                         --enable-libmad --with-external-libmad \
                         --disable-oss \
                         --disable-vcd \
                         --enable-alsa \
                         --enable-arts \
                         --disable-esd \
                         --with-ffmpeg \
                         --with-xv-path=/usr/lib \
                         --disable-optimizations \
                         --disable-optimizations \
                         --disable-dependency-tracking"
    )
示例#18
0
def setup():
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--enable-shared \
                         --enable-sharedlibs=gcc \
                         --enable-error-messages=all \
                         --enable-timer-type=clock_gettime \
                         --enable-romio \
                         --enable-pmiport \
                         --with-python=python2")
示例#19
0
def setup():
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--enable-shared \
                         --enable-sharedlibs=gcc \
                         --enable-error-messages=all \
                         --enable-timer-type=clock_gettime \
                         --enable-romio \
                         --enable-pmiport \
                         --with-python=python2")
示例#20
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.automake("--add-missing")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure()
示例#21
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.automake("--add-missing")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure()
示例#22
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")
    shelltools.export("WANT_AUTOMAKE", "1.7")

    autotools.aclocal("-I m4")
    autotools.autoheader()
    autotools.automake("-afc")
    autotools.autoconf()

    libtools.libtoolize("--copy --force")

    flags = "-mcpu=i686 \
             -O2 \
             -pipe \
             -frename-registers \
             -fomit-frame-pointer \
             -mno-sse \
             -ffunction-sections"

    shelltools.export("CFLAGS", "%s %s" % (get.CFLAGS(), flags))
    shelltools.export("CXXFLAGS", "%s %s" % (get.CXXFLAGS(), flags))

    autotools.configure("--enable-nls \
                         --disable-gnome \
                         --disable-altivec \
                         --disable-speex \
                         --enable-ipv6 \
                         --enable-samba \
                         --enable-mng \
                         --enable-png \
                         --enable-faad \
                         --enable-flac \
                         --with-ogg \
                         --with-vorbis \
                         --with-x \
                         --enable-xinerama \
                         --disable-vidix \
                         --disable-dxr3 \
                         --enable-directfb \
                         --enable-fb \
                         --enable-opengl \
                         --enable-aalib \
                         --enable-caca \
                         --enable-sdl \
                         --enable-libmad --with-external-libmad \
                         --disable-oss \
                         --disable-vcd \
                         --enable-alsa \
                         --enable-arts \
                         --disable-esd \
                         --with-ffmpeg \
                         --with-xv-path=/usr/lib \
                         --disable-optimizations \
                         --disable-optimizations \
                         --disable-dependency-tracking")
示例#23
0
def setup():
    shelltools.export("WANT_AUTOMAKE", "1.8")
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--force --copy --automake")
    autotools.autoheader()
    autotools.aclocal()
    autotools.automake("-a -f -c")
    autotools.autoconf()

    autotools.configure("--enable-shared --disable-djbfft")
示例#24
0
def setup():
    shelltools.export("WANT_AUTOMAKE", "1.8")
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--force --copy --automake")
    autotools.autoheader()
    autotools.aclocal()
    autotools.automake("-a -f -c")
    autotools.autoconf()

    autotools.configure("--enable-shared --disable-djbfft")
示例#25
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()

    shelltools.system("glib-gettextize --force --copy")
    shelltools.system("intltoolize --copy --force --automake")

    autotools.configure()
示例#26
0
def setup():
    for manpage in open("manpaths.txt", "r").readlines():
        shelltools.move(manpage.strip(), "%s.in" % manpage.strip())

    autotools.autoheader()
    autotools.autoconf()

    shelltools.export("CFLAGS", "%s -I/usr/include/et -fPIE -fno-strict-aliasing" % get.CFLAGS())
    shelltools.export("LDFLAGS", "%s -pie" % get.LDFLAGS())

    autotools.configure("--with-pam")
示例#27
0
def setup():
    autotools.aclocal("-I m4")
    libtools.libtoolize()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()
    autotools.configure("--disable-static")

    # Remove rpath
    pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", 'hardcode_libdir_flag_spec=""')
    pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
示例#28
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()

    shelltools.system("glib-gettextize --force --copy")
    shelltools.system("intltoolize --copy --force --automake")

    autotools.configure()
示例#29
0
文件: actions.py 项目: waroi/main
def setup():
    shelltools.cd("openpgm/pgm/")
    shelltools.system("pwd")
    libtools.libtoolize("-fc")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()
    # suppress c compiler warnings
    pisitools.cflags.add("-Wno-cpp -Wno-unused-result")
    autotools.configure()
示例#30
0
def setup():
    shelltools.cd("autoconf")
    autotools.autoconf()
    autotools.autoheader()

    for i in ["configure", "defs.h.in"]:
        if shelltools.isFile("../%s" % i):
            shelltools.unlink("../%s" % i)
        shelltools.copy(i, "../")

    shelltools.cd("..")
    autotools.configure('--libdir="/lib" CFLAGS="%s -fPIC"' % get.CFLAGS())
示例#31
0
def setup():
    shelltools.cd("autoconf")
    autotools.autoconf()
    autotools.autoheader()

    for i in ["configure", "defs.h.in"]:
        if shelltools.isFile("../%s" % i):
            shelltools.unlink("../%s" % i)
        shelltools.copy(i, "../")

    shelltools.cd("..")
    autotools.configure('--libdir="/lib" CFLAGS="%s -fPIC"' % get.CFLAGS())
示例#32
0
def setup():
    autotools.aclocal("-I m4")
    libtools.libtoolize()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()
    autotools.configure("--disable-static")

    # Remove rpath
    pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*",
                    "hardcode_libdir_flag_spec=\"\"")
    pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH",
                    "runpath_var=DIE_RPATH_DIE")
示例#33
0
def setup():
    shelltools.cd("linux")
    shelltools.export("WANT_AUTOCONF", "2.5")

    autotools.autoheader()
    autotools.autoconf()
    autotools.configure("--enable-esd \
                         --enable-sdl \
                         --enable-alsa \
                         --enable-arts \
                         --disable-smpeg \
                         --enable-vorbis \
                         --enable-paranoid-locks \
                         --libdir=/usr/lib \
                         --enable-capture \
                         --enable-optimize")
示例#34
0
def setup():
    shelltools.cd("linux")
    shelltools.export("WANT_AUTOCONF", "2.5")

    autotools.autoheader()
    autotools.autoconf()
    autotools.configure("--enable-esd \
                         --enable-sdl \
                         --enable-alsa \
                         --enable-arts \
                         --disable-smpeg \
                         --enable-vorbis \
                         --enable-paranoid-locks \
                         --libdir=/usr/lib \
                         --enable-capture \
                         --enable-optimize")
示例#35
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize()
    shelltools.system("intltoolize --force --copy --automake")
    autotools.autoreconf("-fi")
    autotools.configure("--with-openldap=yes \
                         --enable-smime=yes \
                         --program-prefix= --disable-dependency-tracking \
                         --disable-goa \
                         --enable-nss=yes \
                         --enable-dot-locking=no \
                         --enable-file-locking=fcntl \
                         --disable-maintainer-mode \
                         --enable-nntp=yes \
                         --enable-vala-bindings=yes \
                         --enable-introspection=yes \
                         --disable-weather \
                         --with-krb5=/usr \
                         --with-libdb=/usr ")
示例#36
0
def setup():
    pisitools.remove("saslauthd/acinclude.m4")
    pisitools.remove("saslauthd/autom4te.cache")
    pisitools.remove("autom4te.cache")
    pisitools.remove("acinclude.m4")
    autotools.aclocal("-I cmulocal -I config")
    autotools.autoheader()
    autotools.autoconf()
    shelltools.cd("saslauthd")
    autotools.aclocal("-I ../cmulocal -I ../config")
    autotools.autoheader()
    autotools.autoconf()
    shelltools.cd("../")

    autotools.configure(
        "--with-saslauthd=/var/lib/sasl2 \
                         --with-pwcheck=/var/lib/sasl2  \
                         --with-configdir=/etc/sasl2 \
                         --with-plugindir=/usr/lib/sasl2 \
                         --with-dbpath=/etc/sasl2/sasldb2 \
                         --enable-login \
                         --enable-ntlm \
                         --enable-auth-sasldb \
                         --disable-krb4 \
                         --disable-otp \
                         --disable-static \
                         --with-openssl \
                         --with-pam \
                         --with-ldap \
                         --disable-gssapi \
                         --without-mysql \
                         --disable-mysql \
                         --without-pgsql \
                         --disable-postgres \
                         --disable-java \
                         --disable-sql \
                         --with-devrandom=/dev/urandom \
                         --with-dblib=gdbm"
    )
示例#37
0
def setup():
    #pisitools.remove("saslauthd/acinclude.m4")
    #pisitools.remove("saslauthd/autom4te.cache")
    #pisitools.remove("autom4te.cache")
    #pisitools.remove("acinclude.m4")
    autotools.aclocal("-I cmulocal -I config")
    autotools.autoheader()
    autotools.autoconf()
    shelltools.cd("saslauthd")
    autotools.aclocal("-I ../cmulocal -I ../config")
    autotools.autoheader()
    autotools.autoconf()
    shelltools.cd("../")

    shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS())

    autotools.configure("--with-saslauthd=/var/lib/sasl2 \
                         --with-pwcheck=/var/lib/sasl2  \
                         --with-configdir=/etc/sasl2 \
                         --with-plugindir=/usr/lib/sasl2 \
                         --with-dbpath=/etc/sasl2/sasldb2 \
                         --enable-login \
                         --enable-ntlm \
                         --enable-auth-sasldb \
                         --disable-krb4 \
                         --disable-otp \
                         --disable-static \
                         --with-openssl \
                         --with-pam \
                         --disable-gssapi \
                         --without-mysql \
                         --disable-mysql \
                         --without-pgsql \
                         --disable-postgres \
                         --disable-java \
                         --disable-sql \
                         --with-devrandom=/dev/urandom \
                         --with-dblib=gdbm")
示例#38
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()

    shelltools.system("glib-gettextize --force --copy")
    shelltools.system("intltoolize --copy --force --automake")

    autotools.configure("--enable-pcmcia-support \
                         --enable-sysfs-carrier \
                         --enable-hotplug-map \
                         --enable-parted \
                         --enable-acpi-acpid \
                         --disable-acpi-proc \
                         --with-hal-user=hal \
                         --with-hal-group=hal \
                         --with-dbus-sys=/etc/dbus-1/system.d \
                         --disable-docbook-docs \
                         --disable-gtk-doc \
                         --enable-doxygen-docs \
                         --with-pid-file=/var/run/hald.pid")
示例#39
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()

    shelltools.system("glib-gettextize --force --copy")
    shelltools.system("intltoolize --copy --force --automake")

    autotools.configure("--enable-pcmcia-support \
                         --enable-sysfs-carrier \
                         --enable-hotplug-map \
                         --enable-parted \
                         --enable-acpi-acpid \
                         --disable-acpi-proc \
                         --with-hal-user=hal \
                         --with-hal-group=hal \
                         --with-dbus-sys=/etc/dbus-1/system.d \
                         --disable-docbook-docs \
                         --disable-gtk-doc \
                         --enable-doxygen-docs \
                         --with-pid-file=/var/run/hald.pid")
示例#40
0
def setup():
    # Rebuild configure scripts
    shelltools.cd("src")
    autotools.autoheader()
    autotools.autoconf()

    # Rename man pages to regenerate them
    for manpage in open("../manpaths.txt", "r"):
        shelltools.move(manpage.strip(), "%s.in" % manpage.strip())

    shelltools.export(
        "CFLAGS",
        "-I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all %s"
        % get.CFLAGS())

    # Fix pthread linking
    pisitools.dosed("configure", "-lthread", "-lpthread")
    pisitools.dosed("configure", "-pthread", "-lpthread")

    # dirsrv or ldap?
    autotools.configure("--with-system-et \
                         --with-system-ss \
                         --with-pam \
                         --with-ldap \
                         --with-netlib=-lresolv \
                         --without-selinux \
                         --without-tcl \
                         --localstatedir=/var/kerberos \
                         --disable-rpath \
                         --enable-shared \
                         --enable-pkinit \
                         --enable-dns-for-realm")

    # Fix krb5-config script to remove rpaths and CFLAGS
    pisitools.dosed("krb5-config", "^CC_LINK=.*",
                    "CC_LINK='$(CC) $(PROG_LIBPATH)'")
示例#41
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.59") 
    autotools.autoconf()
    autotools.autoheader()
    autotools.configure("--enable-nls")
示例#42
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")
示例#43
0
def setup():
    shelltools.system("aclocal")
    autotools.autoheader()
    shelltools.system("./autogen.sh")
    shelltools.system("intltoolize")
    autotools.configure()
示例#44
0
def setup():
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure("--enable-dynamic-pcre \
                         --enable-zlib")
示例#45
0
def setup():
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")
示例#46
0
def setup():
    shelltools.system("aclocal")
    autotools.autoheader()
    shelltools.system("./autogen.sh")
    shelltools.system("intltoolize")
    autotools.configure()