Esempio n. 1
0
def setup():
    autotools.aclocal()
    autotools.autoconf()
    autotools.configure("--prefix=/usr \
                         --datarootdir=/usr/share \
                         --with-linux-headers=/usr/include \
                         --sbindir=/usr/bin \
                         --sysconfdir=/etc")
Esempio n. 2
0
def setup():
    #inarytools.flags.add("-fstack-protector-all", "-DLDAP_DEPRECATED=1")
    inarytools.dosed("config-scripts/cups-sharedlibs.m4", "( -shared )",
                     " -Wl,--as-needed\\1")

    # For --enable-avahi
    autotools.aclocal("-I config-scripts")
    autotools.autoconf("-I config-scripts")

    options = '--with-cups-user=daemon \
               --with-cups-group=lp \
               --with-system-groups=lpadmin \
               --with-docdir=/usr/share/cups/html \
               --with-dbusdir=/etc/dbus-1 \
               --with-optim="%s" \
               --with-php=/usr/bin/php-cgi \
               --with-cupsd-file-perm=0755 \
               --with-log-file-perm=0600 \
               --without-java \
               --enable-acl \
               --enable-ssl=yes \
               --enable-libpaper \
               --enable-libusb=yes \
               --enable-debug \
               --enable-gssapi \
               --enable-dbus \
               --enable-pam=yes \
               --enable-relro \
               --enable-dnssd \
               --enable-browsing \
               --enable-threads \
               --enable-raw-printing \
               --enable-avahi \
               --disable-gnutls \
               --disable-launchd \
               --without-rcdir \
               --libdir=/usr/lib \
               --without-perl \
               --with-logdir=/var/log/cups \
               KRB5CONFIG=/usr/bin/krb5-config \
               --localstatedir=/var \
               --with-rundir=/run/cups \
               --with-xinetd=/etc/xinetd.d \
              ' % get.CFLAGS()

    if get.buildTYPE() == "emul32":
        options += '  \
                     --enable-libusb=no \
                     --disable-avahi \
                     --disable-dnssd \
                     --disable-gssapi \
                     --disable-dbus \
                     --bindir=/usr/bin32 \
                     --sbindir=/usr/sbin32 \
                     --libdir=/usr/lib32'

    autotools.configure(options)
Esempio n. 3
0
def setup():
    libtools.libtoolize("-fc")
    autotools.aclocal()
    autotools.autoconf()
    autotools.automake("--add-missing --copy")
    autotools.configure()
Esempio n. 4
0
def setup():
    libtools.libtoolize()
    autotools.aclocal("-I m4")
    autotools.configure()
Esempio n. 5
0
def setup():
    autotools.aclocal()
    autotools.automake("--add-missing")
    autotools.autoreconf()
    autotools.configure()