def setup(): shelltools.export("R_HOME_DIR", "/usr/lib/R") shelltools.export("BLAS_LIBS", "/usr/lib") shelltools.export("LAPACK_LIBS", "-L/usr/lib -llapack -lblas") autotools.aclocal("-I m4") autotools.autoconf() autotools.configure("--prefix=/usr \ --with-recommended-packages \ --enable-R-profiling \ --enable-R-shlib \ --enable-shared \ --enable-prebuilt-html \ --disable-openmp \ --with-blas=-lblas \ --with-lapack \ --without-tcltk \ --with-readline \ --with-system-pcre \ --with-system-zlib \ --with-system-bzlib \ --with-system-xz \ rdocdir=/usr/share/doc/R \ rincludedir=/usr/include \ --with-x")
def setup(): shelltools.export("DSOFLAGS", get.LDFLAGS()) shelltools.export("CFLAGS", "%s -DLDAP_DEPRECATED" % get.CFLAGS()) autotools.aclocal() autotools.autoconf() autotools.configure('--with-cups-user=pnp \ --with-cups-group=pnp \ --with-system-groups=pnpadmin \ --with-docdir=/usr/share/cups/html \ --localstatedir=/var \ --enable-pam \ --enable-ssl \ --enable-gnutls \ --enable-slp \ --enable-nls \ --enable-dbus \ --enable-png \ --enable-jpeg \ --enable-tiff \ --enable-pie \ --enable-relro \ --enable-dnssd \ --without-rcdir \ --enable-threads \ --enable-ldap \ --enable-libpaper \ --with-optim="%s -fstack-protector-all" \ --without-php' % get.CFLAGS())
def setup(): autotools.autoconf() autotools.configure("--prefix=/usr \ --datarootdir=/usr/share \ --with-linux-headers=/usr/include \ --sbindir=/usr/bin \ --sysconfdir=/etc")
def setup(): shelltools.cd("lib-src/portmixer") autotools.autoreconf() shelltools.cd("../..") autotools.aclocal("-I m4") autotools.autoconf() shelltools.export("LIBS", "-lavcodec") autotools.configure("--enable-unicode \ --enable-nyquist \ --enable-ladspa \ --with-lib-preference='system local' \ --with-libsndfile=system \ --with-expat=system \ --with-libsamplerate \ --with-libvorbis \ --with-libmad \ --with-libflac \ --with-libid3tag \ --with-sbsms \ --with-soundtouch \ --with-libvamp \ --with-libtwolame \ --with-ffmpeg \ --with-midi \ --with-taglib \ --with-portmixer")
def setup(): # create directories for apache and fcgi's Makefiles shelltools.makedirs("fcgi") shelltools.makedirs("apache") # link configure script shelltools.sym("../configure", "fcgi/configure") shelltools.sym("../configure", "apache/configure") shelltools.export("LC_ALL", "C") shelltools.export("CFLAGS", "%s -fwrapv" % get.CFLAGS()) shelltools.export("NO_INTERACTION", "1") shelltools.export("EXTENSION_DIR", "/usr/lib/php/modules") pisitools.dosed("configure.in", "PHP_UNAME=.*", 'PHP_UNAME="%s"' % get.lsbINFO()["DISTRIB_DESCRIPTION"]) pisitools.dosed("ext/pgsql/config.m4", "include/postgresql", " include/postgresql/pgsql") # Don't touch apache.conf for i in pisitools.ls("sapi/*/config.m4"): pisitools.dosed(i, "\\-i \\-a \\-n php5", "-i -n php5") pisitools.dosed(i, "\\-i \\-A \\-n php5", "-i -n php5") autotools.autoconf() common_options = "--sysconfdir=/etc \ --cache-file=./config.cache \ --with-zlib-dir=/usr/lib \ --with-libxml-dir=/usr/lib \ --with-jpeg-dir=/usr/lib/ \ --with-png-dir=/usr/lib/ \ --with-freetype-dir=/usr \ --without-pear \ --with-zend-vm=GOTO \ --with-zend-vm=SWITCH \ --with-pic \ --with-gnu-ld \ --with-system-tzdata=/usr/share/zoneinfo \ --with-mcrypt=/usr/bin/mcrypt \ --with-imap=shared \ --with-imap-ssl" # Enable FastCGI, needs Apache disabled shelltools.cd("fcgi") autotools.configure("--enable-fastcgi \ --enable-force-cgi-redirect \ --with-config-file-path=/etc/php/cli \ --with-config-file-scan-dir=/etc/php/cli/ext \ %s \ %s" % (common_options, extensions())) # Now compile with Apache enabled shelltools.cd("../apache") autotools.configure("--with-apxs2=/usr/bin/apxs \ --disable-cli \ --with-config-file-path=/etc/php/apache2 \ --with-config-file-scan-dir=/etc/php/apache2/ext \ %s \ %s" % (common_options, extensions()))
def setup(): autotools.aclocal() autotools.autoheader() autotools.automake("--add-missing") autotools.autoconf() autotools.configure()
def setup(): shelltools.export("OPTIMIZER", get.CFLAGS()) shelltools.export("DEBUG", "-DNDEBUG") autotools.autoconf() autotools.configure("--libexecdir=/usr/lib \ --disable-static")
def setup(): libtools.libtoolize("--force --copy") autotools.aclocal() autotools.autoconf() autotools.automake() autotools.configure()
def setup(): autotools.autoconf() # has a buggy mktime check autotools.configure( "--with-x-toolkit=gtk \ --with-xft \ --with-freetype" )
def setup(): shelltools.export("WANT_AUTOCONF", "2.1") autotools.autoconf() # Mozilla has different approach for build itself # See http://www.mozilla.org/build/configure-build.html and mozconfig.patch autotools.configure('--enable-optimize="%s -Os"' % get.CXXFLAGS())
def setup(): shelltools.cd("lib-src/portmixer") autotools.autoreconf() shelltools.cd("../..") autotools.aclocal("-I m4") autotools.autoconf() autotools.configure("--enable-unicode \ --enable-nyquist \ --enable-ladspa \ --with-lib-preference='system local' \ --with-libsndfile=system \ --with-libexpat=system \ --with-libsamplerate \ --with-libvorbis \ --with-libmad \ --with-libflac \ --with-id3tag \ --with-soundtouch \ --with-libvamp \ --with-libtwolame \ --with-ffmpeg \ --with-redland \ --without-slv2 \ --with-liblrdf \ --with-midi \ --with-portmixer \ --with-portaudio=v19 \ --with-alsa \ --with-jack")
def setup(): options = "-with-xinput=yes \ --enable-man" #shelltools.export("CFLAGS", get.CFLAGS().replace("-fomit-frame-pointer","")) #gtk2 needs -DGTK_COMPILATION CPPFLAG when compiling itself #Avoid "Only <gtk/gtk.h> can be included directly error" shelltools.export("CPPFLAGS", "-DGTK_COMPILATION") if get.buildTYPE() == "_emul32": options += " --libdir=/usr/lib32 \ --bindir=/_emul32/bin \ --sbindir=/_emul32/sbin \ --disable-cups" shelltools.export("CC", "%s -m32" % get.CC()) shelltools.export("CXX", "%s -m32" % get.CC()) shelltools.export("CXXFLAGS", "%s -m32" % get.CFLAGS()) shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS()) shelltools.export("CPPFLAGS", "-DGTK_COMPILATION") autotools.autoconf() autotools.configure(options) pisitools.dosed("libtool"," -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): libtools.libtoolize("--copy --force") autotools.autoconf() autotools.aclocal() autotools.configure("--disable-static \ --enable-opt")
def setup(): shelltools.export("WANT_AUTOCONF", "2.5") autotools.autoconf() pisitools.dosed("scripts/udev/Makefile.in", "52_nut-usbups.rules", "70-nut-usbups.rules") autotools.configure("--enable-shared \ --disable-static \ --with-user=%(USER)s \ --with-group=%(GROUP)s \ --with-drvpath=%(DRV_PATH)s \ --sysconfdir=%(CONF_DIR)s \ --with-logfacility=LOG_DAEMON \ --with-statepath=%(STATE_PATH)s \ --mandir=%(MANDIR)s \ --datadir=%(DATADIR)s \ --with-lib \ --with-hal \ --with-ssl \ --with-usb \ --with-snmp \ --with-cgi \ --with-gd-libs \ --with-htmlpath=%(HTML_PATH)s \ --with-cgipath=%(CGI_PATH)s" % nutconfig)
def setup(): libtools.libtoolize("--copy --force") autotools.aclocal() autotools.autoheader() autotools.autoconf() autotools.automake("-ac") autotools.configure("--disable-static")
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")
def setup(): autotools.aclocal() autotools.autoconf() autotools.automake() libtools.libtoolize("--copy --force") autotools.configure("--enable-largefile \ --enable-glib2 \ --enable-gconf \ --enable-oss \ --enable-alsa \ --enable-avahi \ --enable-bluez \ --enable-hal \ --enable-tcpwrap \ --enable-jack \ --enable-lirc \ --with-caps \ --with-x \ --disable-asyncns \ --disable-solaris \ --disable-ltdl-install \ --disable-static \ --disable-rpath \ --localstatedir=/var \ --with-system-user=pulse \ --with-system-group=pulse \ --with-realtime-group=pulse-rt \ --with-access-group=pulse-access")
def setup(): autotools.autoconf() autotools.configure( "--with-emacs=emacs \ --with-icondir=/%s/usr/share/emacs/23.0.94/etc/images/w3m" % get.installDIR() )
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)'")
def setup(): pisitools.flags.add("-fPIC") pisitools.dosed("makeinclude.in", "^(docdir.*)$", r"\1/html") autotools.autoconf() options = "\ --enable-gl \ --enable-shared \ --enable-threads \ " if get.buildTYPE() == "emul32": shelltools.export("CFLAGS", "-m32") shelltools.export("CXXFLAGS", "-m32") options += "--prefix=/usr \ --libdir=/usr/lib32 \ --with-optim='%s' \ " % get.CFLAGS() elif get.ARCH() == "x86_64": options += "--with-optim='%s' \ " % get.CFLAGS() autotools.configure(options)
def setup(): shelltools.export("R_HOME_DIR", "/usr/lib/R") shelltools.export("BLAS_LIBS", "/usr/lib") shelltools.export("LAPACK_LIBS", "-L/usr/lib -llapack -lblas") autotools.aclocal("-I m4") autotools.autoconf() autotools.configure( "--prefix=/usr \ --with-recommended-packages \ --enable-R-profiling \ --enable-R-shlib \ --enable-shared \ --with-blas=-lblas \ --with-lapack \ --without-tcltk \ --with-readline \ --with-system-pcre \ --with-system-zlib \ --with-system-bzlib \ --with-system-xz \ rdocdir=/usr/share/doc/R \ rincludedir=/usr/include \ --with-x" )
def setup(): shelltools.export("WANT_AUTOCONF", "2.5") shelltools.export("WANT_AUTOMAKE", "1.9") pisitools.dosed("libtool.m4", "@_LT_VERSION@", get.srcVERSION()) # Fetching revision info (same as "dateinfo = srcDIR/.mkstamp < srcDIR/ChangeLog") revinfo = (coreutils.cat("ChangeLog") | coreutils.grep("\s\$Revision") | coreutils.join).split() dateinfo = " (%s %s %s)" % (revinfo[1], revinfo[4], revinfo[5]) shelltools.copy("ltmain.in", "ltmain.shT") pisitools.dosed("ltmain.shT", "@VERSION@", get.srcVERSION()) pisitools.dosed("ltmain.shT", "@PACKAGE@", get.srcNAME()) pisitools.dosed("ltmain.shT", "@TIMESTAMP@", dateinfo) shelltools.move("ltmain.shT", "ltmain.sh") #Two steps just to be *really* sure :) shelltools.copy("libtool.m4", "acinclude.m4T") shelltools.move("acinclude.m4T", "acinclude.m4") shelltools.touch("libltdl/acinclude.m4") for d in [".", "libltdl"]: shelltools.cd(d) shelltools.touch("acinclude.m4") autotools.aclocal() autotools.automake("-c -a") autotools.autoconf() shelltools.cd("..") autotools.configure()
def setup(): autotools.aclocal() autotools.autoconf() # no svga dep. yet #FIXME svgalibs dep. autotools.configure("--without-svga --with-x COMPILED_BY=\"Pardus\"")
def setup(): autotools.autoconf() autotools.configure("--enable-shared \ --enable-static \ --enable-mmx \ --disable-gtk \ --enable-firewire")
def setup(): # autoconf version fix, dirty but works :) pisitools.dosed("configure.in", r"(^AC_PREREQ).*", r"\1(2.65)") shelltools.export('CFLAGS', '%s -fno-strict-aliasing' % get.CFLAGS()) shelltools.export('CXXFLAGS', '%s -fno-strict-aliasing' % get.CXXFLAGS()) autotools.autoconf("-f") autotools.configure("--with-data-packaging=library \ --disable-samples \ --disable-tests") pisitools.dosed("config/mh-linux", "-nodefaultlibs -nostdlib") pisitools.dosed("i18n/Makefile", r"(^LIBS\s*=).*", r"\1 -L../lib -licuuc -lpthread -lm") pisitools.dosed("io/Makefile", r"(^LIBS\s*=).*", r"\1 -nostdlib -L../lib -licuuc -licui18n -lc") pisitools.dosed("layout/Makefile", r"(^LIBS\s*=).*", r"\1 -nostdlib -L../lib -licuuc -lc") pisitools.dosed("layoutex/Makefile", r"(^LIBS\s*=).*", r"\1 -nostdlib -L../lib -licuuc -licule -lc") pisitools.dosed("tools/ctestfw/Makefile", r"(^LIBS\s*=).*", r"\1 -nostdlib -L../../lib -licutu -licuuc -lc") pisitools.dosed( "tools/toolutil/Makefile", r"(^LIBS\s*=).*", r"\1 -nostdlib -L../../lib -licui18n -licuuc -lpthread -lc") if get.ARCH().startswith('arm'): # hacky fix for LD_PRELOAD, no clean solution :) pisitools.dosed('icudefs.mk.in', r'(^(PKGDATA_|)INVOKE\s*=).*', r'\1')
def setup(): shelltools.cd("lib-src/portmixer") autotools.autoreconf() shelltools.cd("../..") autotools.aclocal("-I m4") autotools.autoconf() shelltools.export("LIBS", "-lavcodec") shelltools.export("WX_CONFIG", "/usr/bin/wxconfig") autotools.configure("--enable-unicode \ --enable-nyquist \ --enable-ladspa \ --with-lib-preference='system local' \ --with-libsndfile=system \ --prefix=/usr \ --docdir=/usr/share/doc/audacity \ --with-expat=system \ --with-libsamplerate \ --with-libvorbis \ --with-libmad \ --with-libflac \ --with-libid3tag \ --with-sbsms \ --with-soundtouch \ --with-libvamp \ --with-libtwolame \ --without-ffmpeg \ --with-midi \ --with-taglib \ --without-lv2 \ --with-portmixer")
def setup(): autotools.autoconf() autotools.configure("--enable-locking \ --disable-root-passwd \ --with-x-app-defaults=/usr/share/X11/app-defaults \ --with-dpms-ext \ --with-xinerama-ext \ --with-xf86vmode-ext \ --with-xf86gamma-ext \ --with-randr-ext \ --with-proc-interrupts \ --with-pam \ --without-kerberos \ --without-shadow \ --without-passwd-helper \ --without-login-manager \ --with-gtk \ --without-motif \ --with-gl \ --without-gle \ --without-pixbuf \ --with-xpm \ --with-jpeg \ --with-xshm-ext \ --with-xdbe-ext \ --without-readdisplay \ --with-browser=xdg-open \ --without-setuid-hacks")
def setup(): options = "-with-xinput=yes \ --enable-man" #shelltools.export("CFLAGS", get.CFLAGS().replace("-fomit-frame-pointer","")) #gtk2 needs -DGTK_COMPILATION CPPFLAG when compiling itself #Avoid "Only <gtk/gtk.h> can be included directly error" shelltools.export("CPPFLAGS", "-DGTK_COMPILATION") if get.buildTYPE() == "emul32": options += " --libdir=/usr/lib32 \ --bindir=/usr/bin32 \ --sbindir=/usr/sbin32 \ --disable-cups" shelltools.export("CC", "%s -m32" % get.CC()) shelltools.export("CXX", "%s -m32" % get.CC()) shelltools.export("CXXFLAGS", "%s -m32" % get.CFLAGS()) shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS()) shelltools.export("CPPFLAGS", "-DGTK_COMPILATION") autotools.autoconf() autotools.configure(options) pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): autotools.autoconf() autotools.configure("--without-rpmbuild \ --with-patch-wrapper \ --with-sendmail=/usr/sbin/sendmail \ --with-patch=/usr/bin/patch \ --with-diffstat=/usr/bin/diffstat")
def setup(): # Fix all linkage problems :((( shelltools.export("CC", "gcc") # Change LT_VERSION to our version pisitools.dosed("libtool.m4", "@_LT_VERSION@", get.srcVERSION()) # Fetching revision info (same as "dateinfo = srcDIR/.mkstamp < srcDIR/ChangeLog") revinfo = (coreutils.cat("ChangeLog") | coreutils.grep("\s\$Revision") | coreutils.join).split() dateinfo = " (%s %s %s)" % (revinfo[1], revinfo[4], revinfo[5]) shelltools.copy("ltmain.in", "ltmain.shT") pisitools.dosed("ltmain.shT", "@VERSION@", get.srcVERSION()) pisitools.dosed("ltmain.shT", "@PACKAGE@", get.srcNAME()) pisitools.dosed("ltmain.shT", "@TIMESTAMP@", dateinfo) shelltools.move("ltmain.shT", "ltmain.sh") # Now let's run all our autotool stuff so that files we patch # below don't get regenerated on us later # Two steps just to be *really* sure :) shelltools.copy("libtool.m4", "acinclude.m4T") shelltools.move("acinclude.m4T", "acinclude.m4") for d in [".", "libltdl"]: shelltools.cd(d) shelltools.touch("acinclude.m4") autotools.aclocal() autotools.automake("-c -a") autotools.autoconf() shelltools.cd("../") autotools.configure("--enable-static=no")
def setup(): # Cleanup crap shelltools.unlinkDir("../libwww") shelltools.unlinkDir("../freetype") shelltools.unlinkDir("../Mesa") shelltools.unlinkDir("../redland") shelltools.unlinkDir("../wxWidgets") # Re-create configure file for system libs autotools.autoconf() # Create a build directory for Pardus shelltools.makedirs("Pardus") shelltools.cd("Pardus") shelltools.system("ln -s ../configure") autotools.configure("--enable-bookmarks \ --enable-templates \ --enable-system-libwww \ --enable-system-wx \ --enable-system-redland \ --enable-annot \ --with-dav \ --enable-svg \ --enable-generic-xml \ --without-graphiclibs")
def setup(): pisitools.dosed("sshd_config", "(?m)^(^#Protocol ).*", r"Protocol 2") pisitools.dosed("sshd_config", "(?m)^(^#UsePAM ).*", r"UsePAM yes") pisitools.dosed("sshd_config", "(?m)^(^#PasswordAuthentication ).*", r"PasswordAuthentication no") pisitools.dosed("sshd_config", "(?m)^(^#X11Forwarding ).*", r"X11Forwarding yes") pisitools.dosed("sshd_config", "(?m)^(^#UseDNS ).*", r"UseDNS no") pisitools.dosed("sshd_config", "(?m)^(^#PermitRootLogin ).*", r"PermitRootLogin no") autotools.autoconf() autotools.configure("--sysconfdir=/etc/ssh \ --disable-strip \ --libexecdir=/usr/lib/misc \ --datadir=/usr/share/openssh \ --disable-suid-ssh \ --with-privsep-path=/var/empty \ --with-privsep-user=sshd \ --with-md5-passwords \ --without-kerberos5 \ --with-tcp-wrappers \ --without-skey \ --without-opensc \ --with-pam")
def setup(): autotools.aclocal("-I /usr/share/xfce4/dev-tools/m4macros") autotools.autoconf() autotools.automake() libtools.libtoolize() autotools.configure()
def setup(): pisitools.dosed("doc/screen.1", "/usr/local/etc/screenrc", "/etc/screenrc") pisitools.dosed("doc/screen.1", "/usr/local/screens", "/var/run/screen") pisitools.dosed("doc/screen.1", "/local/etc/screenrc", "/etc/screenrc") pisitools.dosed("doc/screen.1", "/etc/utmp", "/var/run/utmp") pisitools.dosed("doc/screen.1", "/local/screens/S-", "/var/run/screen/S-") # Allow for more rendition (color/attribute) changes in status bars pisitools.dosed("screen.c", "#define MAX_WINMSG_REND 16", "#define MAX_WINMSG_REND 64") shelltools.export( "CFLAGS", "%s -DPTYMODE=0620 -DPTYGROUP=5 -DUSE_PAM" % get.CFLAGS()) shelltools.export( "CXXFLAGS", "%s -DPTYMODE=0620 -DPTYGROUP=5 -DUSE_PAM" % get.CXXFLAGS()) autotools.autoconf() autotools.configure("--enable-pam \ --with-socket-dir=/var/run/screen \ --with-sys-screenrc=/etc/screenrc \ --with-pty-mode=0620 \ --with-pty-group=5 \ --enable-rxvt_osc \ --enable-colors256")
def setup(): # The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z], it borks #shelltools.export("LC_ALL", "C") #shelltools.export("LANG", "C") autotools.autoconf() autotools.configure()
def setup(): autotools.autoconf() autotools.configure("--enable-gtk2 \ --enable-shared \ --disable-optimise \ --enable-debug_info \ --enable-no_deps \ --disable-rpath \ --enable-intl \ --enable-geometry \ --enable-timer \ --enable-unicode \ --enable-sound \ --enable-mediactrl \ --enable-xrc \ --enable-graphics_ctx \ --enable-display \ --enable-joystick \ --disable-gtktest \ --disable-sdltest \ --disable-precomp-headers \ --with-gtk=2 \ --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-libxpm=sys \ --with-sdl \ --without-gnomeprint \ --without-gnomevfs \ --with-opengl \ --with-regex=sys \ --with-zlib=sys \ --with-odbc=sys \ --with-expat=sys")
def setup(): # The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z], it borks shelltools.export("LC_ALL", "C") shelltools.export("LANG", "C") autotools.autoconf() autotools.configure()
def setup(): # Thanks to Arman Aksoy for this tip shelltools.export("LC_ALL", "C") shelltools.export("WANT_AUTOCONF","2.59") pisitools.dosed("configure.in", "PHP_UNAME=.*", 'PHP_UNAME="Pardus Linux 2007"') pisitools.dosed("ext/pgsql/config.m4", "include/postgresql", " include/postgresql/pgsql") # Don't touch apache.conf for i in ["configure", "sapi/apache/config.m4", "sapi/apache2filter/config.m4", "sapi/apache2handler/config.m4"]: pisitools.dosed(i, "-i -a -n php5", "-i -n php5") pisitools.dosed(i, "-i -A -n php5", "-i -n php5") autotools.autoconf() autotools.configure("--sysconfdir=/etc \ --cache-file=./config.cache \ --with-config-file-path=/etc/php \ --with-config-file-scan-dir=/etc/php/ext \ --with-apxs2=/usr/sbin/apxs2 \ --with-zlib-dir=/usr/lib \ --with-libxml-dir=/usr/lib \ --with-libxml2=/usr/lib \ --without-xpm \ --with-jpeg-dir=/usr/lib/ \ --with-png-dir=/usr/lib/ \ --with-freetype-dir=/usr \ --enable-cli \ --disable-cgi \ --without-pear \ --enable-memory-limit \ --enable-so \ --with-zend-vm=GOTO \ --with-zend-vm=SWITCH \ %s" % extensions())
def setup(): autotools.autoconf() autotools.configure("--enable-locking \ --disable-root-passwd \ --with-x-app-defaults=/usr/share/X11/app-defaults \ --with-configdir=/usr/share/xscreensaver/config \ --with-hackdir=/usr/libexec/xscreensaver \ --with-dpms-ext \ --with-gtk \ --with-xinerama-ext \ --with-xf86vmode-ext \ --with-xf86gamma-ext \ --with-randr-ext \ --with-xdbe-ext \ --with-xinput-ext \ --with-xshm-ext \ --with-proc-interrupts \ --with-gl \ --with-xpm \ --with-jpeg \ --with-pam \ --with-pixbuf \ --x-libraries=/usr/lib \ --x-includes=/usr/include \ --without-kerberos \ --without-shadow \ --without-passwd-helper \ --without-login-manager \ --without-motif \ --without-readdisplay \ --with-browser=xdg-open \ --without-setuid-hacks")
def setup(): shelltools.cd("lib-src/portmixer") autotools.autoreconf("-vi") shelltools.cd("../..") autotools.aclocal("-I m4") autotools.autoconf() shelltools.export("LIBS", "-lavcodec") #shelltools.export("WX_CONFIG=wx-config-gtk3 ./configure", "/usr/bin/wxconfig") autotools.configure("--enable-unicode \ WX_CONFIG=wx-config-gtk3 \ --enable-nyquist \ --enable-ladspa \ --with-lib-preference='system local' \ --with-libsndfile=system \ --prefix=/usr \ --docdir=/usr/share/doc/audacity \ --with-expat=system \ --with-libsamplerate \ --with-lame=system \ --with-libvorbis \ --with-libmad \ --with-libflac \ --without-libid3tag \ --with-sbsms \ --with-soundtouch \ --with-libvamp \ --with-libtwolame \ --with-ffmpeg=system \ --with-midi \ --with-taglib \ --without-lv2 \ --with-portmixer")
def setup(): shelltools.export("LC_ALL", "C") shelltools.export("CFLAGS","%s -fwrapv" % get.CFLAGS()) shelltools.export("NO_INTERACTION", "1") pisitools.dosed("configure.in", "PHP_UNAME=.*", 'PHP_UNAME="Pardus Linux 2008"') pisitools.dosed("ext/pgsql/config.m4", "include/postgresql", " include/postgresql/pgsql") # Don't touch apache.conf for i in ["configure", "sapi/apache/config.m4", "sapi/apache2filter/config.m4", "sapi/apache2handler/config.m4"]: pisitools.dosed(i, "-i -a -n php5", "-i -n php5") pisitools.dosed(i, "-i -A -n php5", "-i -n php5") autotools.autoconf() autotools.configure("--sysconfdir=/etc \ --cache-file=./config.cache \ --with-config-file-path=/etc/php \ --with-config-file-scan-dir=/etc/php/ext \ --with-apxs2=/usr/sbin/apxs \ --with-zlib-dir=/usr/lib \ --with-libxml-dir=/usr/lib \ --with-jpeg-dir=/usr/lib/ \ --with-png-dir=/usr/lib/ \ --with-freetype-dir=/usr \ --enable-cli \ --disable-cgi \ --without-pear \ --with-zend-vm=GOTO \ --with-zend-vm=SWITCH \ --with-pic \ --with-gnu-ld \ --with-system-tzdata=/usr/share/zoneinfo \ %s" % extensions())
def setup(): shelltools.cd("source/") autotools.autoconf() autotools.configure("--with-fhs \ --sysconfdir=/etc/samba \ --localstatedir=/var \ --with-configdir=/etc/samba \ --with-libdir=/usr/lib/samba \ --with-piddir=/var/run/samba \ --with-lockdir=/var/cache/samba \ --with-logfilebase=/var/log/samba \ --with-privatedir=/var/lib/samba/private \ --with-libsmbclient \ --without-spinlocks \ --with-acl-support \ --with-aio-support \ --enable-cups \ --with-pam \ --with-pam_smbpass \ --with-python \ --with-quotas \ --with-sys-quotas \ --with-readline \ --with-smbmount \ --with-syslog \ --with-expsam=xml \ --without-ldapsam \ --with-winbind \ --with-shared-modules=idmap_rid")