def setup(): shelltools.export("AUTOPOINT", "true") autotools.autoreconf("-vfi") options = '--with-package-name="GStreamer for PisiLinux" \ --with-package-origin="http://www.pisilinux.org" \ --enable-nls \ --disable-dependency-tracking \ --disable-examples \ --enable-introspection \ --disable-static \ --disable-rpath \ --disable-valgrind \ --disable-gtk-doc' if get.buildTYPE() == "emul32": options += " --bindir=/usr/bin32 \ --libexecdir=/usr/libexec32 \ --disable-introspection" shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig") autotools.configure(options) pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): shelltools.export("PTHREAD_LIBS", "-lpthread") shelltools.system("./autogen.sh") autotools.autoreconf("-vif") autotools.configure("--disable-static") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): cache = [ "ac_cv_lib_jpeg_jpeg_destroy_decompress=yes", "ac_cv_lib_jpeg_jpeg_simple_progression=yes", "LIBJPEG='-ljpeg'", "gio_can_sniff=yes", ] autotools.autoreconf("-fvi") autotools.configure( "--with-libjpeg \ --with-libtiff \ --with-libjasper\ --with-libpng \ --with-gdktarget=x11 \ --enable-xinerama \ --with-xinput=yes \ --enable-xkb \ --enable-shm \ --disable-introspection \ --with-included-loaders=png \ --disable-glibtest \ --x-includes=%(SysRoot)s/usr/include/X11 \ --x-libraries=%(SysRoot)s/usr/lib \ --with-gnu-ld \ --disable-cups \ " % autotools.environment, cache=cache, ) # FIXME: --disable-cups will be fixed. pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
def setup(): autotools.autoreconf("-fi") autotools.configure("--disable-static \ --enable-maintainer-flags=no \ --enable-introspection=yes") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): pisitools.dosed("configure.ac", "-O3", "") shelltools.export("CPPFLAGS", get.CXXFLAGS()) shelltools.system("./autogen.sh") autotools.configure("--disable-static \ --enable-glib")
def setup(): autotools.configure( "--disable-static \ --enable-introspection=yes" ) pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
def setup(): #shelltools.system("sed -i -e '/SystemdService/d' obexd/src/org.bluez.obex.service.in") pisitools.dosed("obexd/src/org.bluez.obex.service.in", "SystemdService", deleteLine=True) autotools.autoreconf("-fi") autotools.configure("--prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/libexec/ \ --enable-sixaxis \ --enable-experimental \ --disable-android \ --enable-datafiles \ --enable-optimization \ --enable-pie \ --enable-threads \ --enable-library \ --enable-tools \ --enable-manpages \ --enable-monitor \ --enable-udev \ --enable-test \ --disable-systemd") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def install(): # ejabberdctl pisitools.insinto("/usr/sbin", "tools/*") # mnesia path pisitools.dodir("/var/lib/jabber/spool") shelltools.cd("src") # NOTE: Don't forget to update service.py with new versions... destdir = get.installDIR() ejabberddir = "%s/usr/lib/erlang/lib/%s-%s" % (destdir, get.srcNAME(), get.srcVERSION()) etcdir = "%s/etc/jabber/" % destdir logdir = "%s/var/log/jabber/" % destdir autotools.rawInstall("DESTDIR=%s EJABBERDDIR=%s ETCDIR=%s LOGDIR=%s" % ( destdir, ejabberddir, etcdir, logdir)) pisitools.dosed("%s/etc/jabber/ejabberd.cfg" % get.installDIR(), #"\.\/ssl\.pem", "/path/to/ssl.pem", "/etc/jabber/ssl.pem") shelltools.cd("../") pisitools.dodoc("ChangeLog", "COPYING")
def install(): autotools.rawInstall("INSTALL_PREFIX=%s MANDIR=/usr/share/man" % get.installDIR()) # Rename conflicting manpages pisitools.rename("/usr/share/man/man1/passwd.1", "ssl-passwd.1") pisitools.rename("/usr/share/man/man3/rand.3", "ssl-rand.3") pisitools.rename("/usr/share/man/man3/err.3", "ssl-err.3") if get.buildTYPE() == "_emul32": from distutils.dir_util import copy_tree copy_tree("%s/_emul32/lib32/" % get.installDIR(), "%s/usr/lib32" % get.installDIR()) pisitools.removeDir("/_emul32") pisitools.remove("/usr/lib32/*.a") path = "%s/usr/lib32/pkgconfig" % get.installDIR() for f in shelltools.ls(path): pisitools.dosed("%s/%s" % (path, f), "^(prefix=\/)_emul32", r"\1usr") return # Move engines to /usr/lib/openssl/engines pisitools.dodir("/usr/lib/openssl") pisitools.domove("/usr/lib/engines", "/usr/lib/openssl") # Certificate stuff pisitools.dobin("tools/c_rehash") pisitools.dosym("/etc/pki/tls/certs/ca-bundle.crt","/etc/pki/tls/cert.pem") # Create CA dirs for cadir in ["CA", "CA/private", "CA/certs", "CA/crl", "CA/newcerts"]: pisitools.dodir("/etc/pki/%s" % cadir) # No static libs pisitools.remove("/usr/lib/*.a") pisitools.dohtml("doc/*") pisitools.dodoc("CHANGES*", "FAQ", "LICENSE", "NEWS", "README", "doc/*.txt")
def setup(): # Fix build with 1.2.2 pisitools.dosed("build.xml", "property name=\"src_dir\" value=\"src\"", "property name=\"src_dir\" value=\".\"") shelltools.cd("lib/") shelltools.chmod("jsapi.sh") shelltools.system("./jsapi.sh")
def build(): shelltools.export("LDFLAGS", "%s -Wl,-z,now" % get.LDFLAGS()) pisitools.dosed("Makefile", "gcc (\-Wall.*)", "%s \\1 %s" % (get.CC(), get.CFLAGS())) pisitools.dosed("Makefile", "^(LDFLAGS[ \t]+=).*", "\\1 %s" % get.LDFLAGS()) autotools.make()
def setup(): autotools.autoreconf() autotools.configure("--disable-static \ --sysconfdir=/etc/aspell \ --enable-docdir=/usr/share/doc/%s" % get.srcNAME()) pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def setup(): setupVars() pisitools.dosed("runConfigure", '^CXXFLAGS="\\$compileroptions', "CXXFLAGS=\"${CXXFLAGS}") pisitools.dosed("runConfigure", '^CFLAGS="\\$compileroptions', "CFLAGS=\"${CXXFLAGS}") shelltools.system("./runConfigure -p linux -c gcc -x g++ -P /usr -t icu -C --libdir=/usr/lib")
def setup(): autotools.autoreconf("-fi") autotools.configure("--disable-aload") # rpath fix pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"") pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
def install(): pisitools.dosed("data/defaults.conf", "speed_down=131072", "speed_down=524288") cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dohtml("doc/*") pisitools.dodoc("AUTHORS", "LICENSE", "README", "TRANSLATIONS")
def setup(): shelltools.export("CFLAGS", "%s -DNDEBUG" % get.CFLAGS()) autotools.autoreconf("-vif") autotools.configure("--enable-pic \ --disable-xcb \ --enable-glx-tls \ --disable-gl-osmesa \ --disable-egl \ --disable-glw \ --disable-glut \ --enable-gallium \ --enable-gallium-llvm \ --disable-gallium-svga \ --disable-gallium-i915 \ --disable-gallium-i965 \ --enable-gallium-radeon \ --disable-gallium-r600 \ --disable-gallium-nouveau \ --with-driver=dri \ --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-dri-drivers=i810,i915,i965,mach64,r128,r200,r600,radeon,sis,tdfx \ --with-state-trackers=dri,glx") pisitools.dosed("configs/autoconf", "(PYTHON_FLAGS) = .*", r"\1 = -t")
def setup(): shelltools.system("""sed -i -r 's:"(/desktop):"/org/gnome\1:' schema/*.xml""") autotools.configure("--prefix=/usr \ --sysconfdir=/etc \ --with-pam-dir=/lib/security") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): options = "--disable-dependency-tracking \ --disable-static \ --disable-rpath \ --disable-jack \ --disable-solaris \ --disable-adrian-aec \ --enable-largefile \ --with-system-user=pulse \ --with-system-group=pulse \ --with-access-group=pulse-access \ --with-database=tdb" if get.buildTYPE() == "emul32": options += " --libdir=/usr/lib32 \ --libexecdir=/usr/lib32 \ --disable-gconf \ --disable-gtk2 \ --disable-jack \ --disable-bluez \ --disable-asyncns \ --disable-lirc \ --disable-x11 \ --disable-oss-output \ --disable-oss-wrapper \ --disable-solaris \ --disable-manpages \ --disable-samplerate \ --disable-default-build-tests" shelltools.echo(".tarball-version", get.srcVERSION()) #shelltools.system("NOCONFIGURE=1 ./bootstrap.sh") autotools.configure(options) pisitools.dosed("libtool", "CC(\s-shared\s)", r"CC -Wl,-O1,--as-needed\1")
def setup(): pisitools.dosed("dist/clementine.desktop", "Icon=application-x-clementine", "Icon=clementine") for i in ["libprojectm", "qxt", "qtiocompressor", "libechonest"]: shelltools.unlinkDir("3rdparty/%s" % (i)) # QTSINGLEAPPLICATION is builtin since we need to patch Qt just for this package and Gökçen has given OK # for using built-in qtsingleapplication. cmaketools.configure("-DUSE_SYSTEM_QXT=ON \ -Werror=OFF \ -DENABLE_LIBLASTFM=ON \ -DUSE_SYSTEM_QTSINGLEAPPLICATION=OFF \ -DENABLE_SPOTIFY=OFF\ -DENABLE_SPOTIFY_BLOB=OFF\ -DUSE_SYSTEM_GMOCK=ON \ -DSTATIC_SQLITE=OFF \ -DUSE_SYSTEM_PROJECTM=ON \ -DENABLE_WIIMOTEDEV=ON \ -DENABLE_LIBGPOD=ON \ -DENABLE_IMOBILEDEVICE=ON \ -DENABLE_LIBMTP=ON \ -DENABLE_GIO=ON \ -DENABLE_VISUALISATIONS=ON \ -DENABLE_SCRIPTING_PYTHON=ON \ -DENABLE_SCRIPTING_ARCHIVES=ON \ -DENABLE_REMOTE=OFF \ -DBUNDLE_PROJECTM_PRESETS=OFF", sourceDir=".")
def setup(): #shelltools.export("AUTOPOINT", "/bin/true") autotools.autoreconf("-vfi") autotools.configure("--disable-static \ --disable-rpath") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): options = "--with-gdktarget=x11 \ --enable-xinerama \ --with-xinput=yes \ --enable-xkb \ --enable-demos \ --enable-shm \ --enable-silent-rules \ --enable-introspection \ --enable-gtk2-dependency \ --disable-papi" shelltools.export("CFLAGS", get.CFLAGS().replace("-fomit-frame-pointer", "")) 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("CFLAGS", "%s -m32" % get.CFLAGS().replace("-fomit-frame-pointer", "")) shelltools.export("CXXFLAGS", "%s -m32" % get.CFLAGS()) shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS()) # shelltools.system("./autogen.sh") autotools.configure(options) pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
def setup(): shelltools.system("NOCONFIGURE=1 ./autogen.sh") autotools.configure("--prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/mate-document-viewer \ --disable-static \ --disable-rpath \ --enable-caja \ --enable-pdf \ --enable-tiff \ --enable-djvu \ --enable-dvi \ --enable-xps \ --enable-t1lib \ --enable-comics \ --enable-pixbuf \ --enable-impress \ --with-gtk=2.0 \ --disable-scrollkeeper \ --disable-introspection \ --disable-schemas-compile \ --disable-schemas-install") # for fix unused dependency pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def setup(): autotools.configure("--disable-rpath \ --disable-static \ --disable-sasl") flagorderrx = (r"(\\\$deplibs \\\$postdep_objects) (\\\$compiler_flags)", r"\2 \1") pisitools.dosed("libtool", *flagorderrx)
def setup(): autotools.autoreconf("-vif") shelltools.system("./autogen.sh") autotools.configure("--libexecdir=/usr/lib/cinnamon-desktop \ --disable-schemas-compile") pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def setup(): pisitools.dosed("configure.ac", "AC_PATH_XTRA") autotools.autoreconf("-vif") pisitools.dosed("configure", "DOCUMENTATION_RELATIVE_PATH=.*", "DOCUMENTATION_RELATIVE_PATH=%s/html" % get.srcNAME()) autotools.configure("--with-gs-font-dir=/usr/share/fonts/default/ghostscript \ --docdir=/usr/share/doc/imagemagick \ --enable-hdri \ --enable-shared \ --disable-static \ --with-modules \ --with-perl \ --with-perl-options='INSTALLDIRS=vendor' \ --with-x \ --with-threads \ --with-magick_plus_plus \ --with-gslib \ --with-wmf \ --with-lcms \ --with-rsvg \ --with-xml \ --with-djvu \ --with-bzlib \ --with-zlib \ --with-fpx \ --with-tiff \ --with-jp2 \ --with-jpeg \ --without-jbig \ --without-fpx \ --without-dps")
def setup(): autotools.configure("--with-libwmf \ --disable-static \ --with-libxml2 \ --with-docdir=/usr/share/doc/%s" % get.srcNAME()) pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
def setup(): # seems mjpegtools does not play nicely with sse2 in gcc 3.x shelltools.export("CFLAGS", "%s -mno-sse2 -fno-strict-aliasing" % get.CFLAGS()) shelltools.export("LDFLAGS", "%s -lpthread" % get.LDFLAGS()) # all mighty strong m4 macros shelltools.export("AT_M4DIR", "m4") autotools.autoreconf() libtools.libtoolize("--force --copy") pisitools.dosed("configure", "ARCHFLAGS=.*", "ARCHFLAGS=") autotools.configure("--with-x \ --enable-cmov-extension \ --enable-largefile \ --enable-simd-accel \ --enable-xfree-ext \ --disable-static \ --with-dv-yv12 \ --with-quicktime \ --with-libpng \ --with-v4l \ --with-sdl \ --with-dv=/usr \ --with-libdv=/usr \ --with-jpeg-mmx=/usr/include/jpeg-mmx \ --without-gtk")
def setup(): shelltools.export("CFLAGS", "%s -D_GNU_SOURCE -fPIC" % get.CFLAGS()) #in some troff man pages #for i in ["dhclient.conf.5", "dhclient.leases.5", "dhclient-script.8", "dhclient.8"]: # pisitools.dosed("client/%s" % i, "CLIENTBINDIR", "/sbin") # pisitools.dosed("client/%s" % i, "RUNDIR", "/run") # pisitools.dosed("client/%s" % i, "DBDIR", "/var/lib/dhcpd") # pisitools.dosed("client/%s" % i, "ETCDIR", "/etc/dhcp") #for i in ["dhcpd.conf.5", "dhcpd.leases.5", "dhcpd.8"]: # pisitools.dosed("server/%s" % i, "CLIENTBINDIR", "/sbin") # pisitools.dosed("server/%s" % i, "RUNDIR", "/run") # pisitools.dosed("server/%s" % i, "DBDIR", "/var/lib/dhcpd") # pisitools.dosed("server/%s" % i, "ETCDIR", "/etc/dhcp") pisitools.dosed("client/scripts/linux", "/etc/dhclient-exit-hooks", "/etc/dhcp/dhclient-exit-hooks") pisitools.dosed("client/scripts/linux", "/etc/dhclient-enter-hooks", "/etc/dhcp/dhclient-enter-hooks") autotools.autoreconf("-vfi") autotools.configure("--with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases \ --with-srv6-lease-file=/var/lib/dhcpd/dhcpd6.leases \ --with-cli-lease-file=/var/lib/dhclient/dhclient.leases \ --with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases \ --with-srv-pid-file=/run/dhcpd.pid \ --with-srv6-pid-file=/run/dhcpd6.pid \ --with-cli-pid-file=/run/dhclient.pid \ --with-cli6-pid-file=/run/dhclient6.pid \ --with-relay-pid-file=/run/dhcrelay.pid \ --with-ldap \ --with-ldapcrypto")
def install(): pisitools.dosed("cherrypy/test/test.py", "raw_input", "") pisitools.dosed("cherrypy/test/test.py", "'test_cache_filter',", "") pythonmodules.install() pisitools.dodoc("README.txt", "CHANGELOG.txt", "CHERRYPYTEAM.txt")
def install(): shelltools.cd("build") cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.cd("") pisitools.dosed('debian/qgis.desktop', 'qgis-icon', '/usr/share/qgis/images/icons/qgis-icon.png') pisitools.insinto("/usr/share/applications/", "debian/qgis.desktop") pisitools.domove("/usr/share/qgis/doc/*", "/usr/share/doc/qgis/")
def setup(): pisitools.dosed("Makefile", "pardusCC", get.CC()) pisitools.dosed("Makefile", "pardusCFLAGS", get.CFLAGS())
def setup(): pisitools.dosed("bin/help2txt", "openSUSE", "PisiLinux") pisitools.dosed("Makefile", "^CC.*", "CC = %s" % get.CC()) #pisitools.dosed("doc/Makefile", "xmlto", "xmlto --skip-validation") pisitools.dosed("gfxboot-font.c", "#include <freetype/ftsynth.h>", "#include <freetype2/ftsynth.h>")
def setup(): pisitools.dosed("Makefile.am", "-O2", get.CFLAGS()) autotools.configure("--disable-xhydra")
def install(): pythonmodules.install() pisitools.dosed("%s/usr/bin/pychecker" % get.installDIR(), get.installDIR(), "/")
def setup(): pisitools.dosed("fslint-gui", "liblocation=os.path.*", "liblocation = \'/usr/share/%s\'" % get.srcNAME()) pisitools.dosed("fslint-gui", "locale_base=.*", "locale_base = None")
def setup(): pisitools.dosed("makefile", "-Werror", get.CFLAGS())
def install(): pythonmodules.install() pisitools.dosed("%s/usr/bin/pastedeploy" % get.installDIR(), get.installDIR(), "/")
def setup(): pisitools.dosed("Makefile", "SUBDIRS=", "M=") pisitools.dosed("Makefile", "^KERNEL_VER :=.*", "KERNEL_VER := %s" % get.curKERNEL()) pisitools.dosed("Makefile", "^KERNEL_64B :=.*", "KERNEL_64B := %s" % get.curKERNEL())
def setup(): pisitools.dosed("Makefile","PREFIX=/usr/local","PREFIX=/usr")
def setup(): pisitools.dosed("aclocal.m4", "-O2") autotools.autoconf() autotools.configure("--enable-shared")
def setup(): pisitools.dosed("qemu/configure", "datasuffix=\"/share/qemu\"", "datasuffix=\"/share/kvm\"") # qemu's configure script did not like other arguments autotools.rawConfigure("--prefix=/usr")
def setup(): pisitools.dosed("0.59s-mh4", "0.59s")
def setup(): # Dump code-metrics before building :) shelltools.system("cat code-metrics.txt") for f in ("config.mk", "scripts/gen-compat-autoconf.sh"): pisitools.dosed(f, "@KERNELRELEASE@", KDIR)
def setup(): pisitools.dosed("config.mk", "\$\(MAKE\) -C \$\(KLIB_BUILD\) kernelversion", "echo \"%s\"" % KDIR) pisitools.dosed("scripts/gen-compat-autoconf.sh", "make -C \$KLIB_BUILD kernelversion", "echo \"%s\"" % KDIR)
def setup(): pisitools.dosed("qmotion.pro", "lrelease", "lrelease-qt4") shelltools.system("qmake-qt4")
def setup(): autotools.configure() pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
def setup(): autotools.configure("--disable-static \ --enable-introspection=yes") pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
def setup(): pisitools.cflags.add("-Wno-deprecated-declarations") autotools.configure(i) pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
def install(): autotools.install() pisitools.remove("/usr/lib/*.a") pisitools.dosed("%s/usr/bin/fltk-config" % get.installDIR(), "-Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort", "") pisitools.dosed("%s/usr/bin/fltk-config" % get.installDIR(), "libfltk.a", "libfltk.so")
def setup(): pisitools.dosed("Makefile", "-O2", get.CFLAGS())
def setup(): pisitools.dosed("configure.py", " check_license()", "# check_license()") pythonmodules.run("configure.py -q /usr/bin/qmake-qt4")
def setup(): fixfiles(".") pisitools.dosed("drpython.lin", r"\${0\%/\*}", drpython_dir)
def setup(): pisitools.dosed("configure", "-mno-ieee-fp") autotools.configure("--disable-static")
def setup(): #if compile against gtk3=yes then a libtool compile error, so now build against gtk2 shelltools.system("./autogen.sh") autotools.configure("--enable-gtk3=no --enable-staticlink=no") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): #fix install path for sdk pisitools.dosed("cmake/FindKadu.cmake", "(\s+set\s\(KADU_SDK_DIR\s\$\{CMAKE_INSTALL_PREFIX\}\/)(sdk\))", r"\1share/kadu/\2") #kadu using lib64 as default if 64 bits linux and not debian cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib")
def setup(): pisitools.dosed("Makefile.in", "^CC=.*", "CC = %s" % get.CC()) for i in ["ar", "ranlib"]: pisitools.dosed("Makefile.in", "/usr/bin/%s" % i, i) autotools.configure("--force-libpcap")
def setup(): # disable tests pisitools.dosed("Makefile", "^.*cd LockDev && make test$", "") # Set CFLAGS pisitools.dosed("Makefile", "OPTIMIZE=\".*\"", "OPTIMIZE=\"%s\"" % get.CFLAGS())
def setup(): pisitools.dosed( "%s/%s/include/ldap_defaults.h" % (get.workDIR(), get.srcDIR()), "(#define LDAPI_SOCK).*", '\\1 "/var/run/openldap/slapd.sock"') shelltools.export("CFLAGS", "%s -D_REENTRANT -D_GNU_SOURCE -fPIC" % get.CFLAGS()) shelltools.export("CPPFLAGS", "%s -D_REENTRANT -D_GNU_SOURCE -fPIC" % get.CFLAGS()) options = "--prefix=/usr \ --enable-bdb \ --enable-ldbm-api=berkeley \ --enable-hdb=mod \ --enable-slapd \ --enable-slurpd \ --enable-ldbm \ --enable-passwd=mod \ --enable-phonetic=mod \ --enable-dnssrv=mod \ --enable-ldap \ --enable-wrappers \ --enable-meta=mod \ --enable-monitor=mod \ --enable-null=mod \ --enable-shell=mod \ --enable-rewrite \ --enable-rlookups \ --enable-aci \ --enable-modules \ --enable-cleartext \ --enable-lmpasswd \ --enable-spasswd \ --enable-slapi \ --enable-dyngroup \ --enable-proxycache \ --enable-perl \ --enable-syslog \ --enable-dynamic \ --enable-local \ --enable-proctitle \ --enable-overlays=mod \ --with-tls \ --with-pic \ --with-cyrus-sasl \ --enable-crypt \ --with-ssl=openssl \ --enable-ipv6 \ --localstatedir=/var/lib" if get.buildTYPE() == "emul32": options += " --prefix=/emul32 \ --libdir=/usr/lib32 \ --libexecdir=/emul32/libexec \ --disable-bdb \ --disable-hdb \ --disable-wrappers \ --disable-spasswd \ --disable-perl \ --without-cyrus-sasl" autotools.configure(options)
def setup(): autotools.configure() # for fix unused dependency pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def setup(): shelltools.system("qmake-qt4") pisitools.dosed("Makefile", "^CXXFLAGS .*", "CXXFLAGS=%s" % get.CXXFLAGS()) pisitools.dosed("Makefile", "^LFLAGS .*", "LFLAGS = %s" % get.LDFLAGS())