def setup(): shelltools.copy("../unifont*.pcf.gz", "./unifont.pcf.gz") shelltools.export("GRUB_CONTRIB", "%s/grub-%s/grub-extras" % (get.workDIR(), get.srcVERSION())) pisitools.flags("-fstack-protector -fasynchronous-unwind-tables -O.") shelltools.system("./autogen.sh") shelltools.makedirs("../grub-efi") shelltools.system("cp -ar ./* %s/grub-efi/" % get.workDIR()) autotools.configure("--disable-werror \ --with-grubdir=grub2 \ --program-transform-name='s,grub,grub2,'\ --program-prefix='' \ --htmldir='/usr/share/doc/${PF}/html' \ --enable-mm-debug \ --enable-nls \ --enable-device-mapper \ --enable-cache-stats \ --enable-grub-mkfont \ --enable-grub-mount \ --%sable-efiemu" % "en" if get.ARCH() == "x86_64" else "dis") shelltools.cd("../grub-efi") autotools.configure("--with-platform='efi' \ --target='i386' \ --disable-efiemu \ --disable-werror \ --with-grubdir=grub2 \ --program-transform-name='s,grub,grub2,'\ --program-prefix='' \ --enable-mm-debug \ --enable-nls \ --enable-device-mapper \ --enable-cache-stats \ --enable-grub-mkfont \ --enable-grub-mount \ --htmldir='/usr/share/doc/${PF}/html' ")
def setup(): pisitools.flags( "+D_FILE_OFFSET_BITS=64 +D_GNU_SOURCE +DLDAP_DEPRECATED +fPIC") autotools.configure("--disable-rpath-install \ --enable-fhs \ --libdir=/usr/lib \ --with-dnsupdate \ --with-ads \ --with-acl-support \ --with-automount \ --with-cluster-support \ --enable-old-ctdb \ --with-dnsupdate \ --with-pam \ --with-pam_smbpass \ --with-quotas \ --with-sendfile-support \ --with-syslog \ --with-swat \ --with-utmp \ --with-winbind \ --with-cachedir=/var/lib/samba \ --with-lockdir=/var/lib/samba \ --with-piddir=/run/samba \ --with-sockets-dir=/run/samba \ --with-privatedir=/var/lib/samba/private \ --with-logfilebase=/var/log/samba \ --with-configdir=/etc/samba \ --with-modulesdir=/usr/lib/samba \ --with-pammodulesdir=/lib/security \ --with-shared-modules=%s \ " % MODULES)
def setup(): pisitools.flags("-D_FORTIFY_SOURCE=\d") autotools.autoreconf("-fi") autotools.configure("--disable-static \ --disable-dependency-tracking \ --disable-ldap \ --disable-ldaps \ --with-ssl \ --with-zlib \ --with-libidn \ --with-libssh2 \ --without-librtmp \ --enable-ipv6 \ --enable-http \ --enable-ftp \ --enable-file \ --enable-dict \ --enable-manual \ --enable-gopher \ --enable-telnet \ --enable-largefile \ --enable-nonblocking \ --enable-threaded-resolver \ --enable-hidden-symbols \ --disable-versioned-symbols \ --with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt")
def setup(): pisitools.flags("+D_FILE_OFFSET_BITS=64 +D_GNU_SOURCE +DLDAP_DEPRECATED +fPIC") autotools.configure("--disable-rpath-install \ --enable-fhs \ --libdir=/usr/lib \ --with-dnsupdate \ --with-ads \ --with-acl-support \ --with-automount \ --with-cluster-support \ --enable-old-ctdb \ --with-dnsupdate \ --with-pam \ --with-pam_smbpass \ --with-quotas \ --with-sendfile-support \ --with-syslog \ --with-swat \ --with-utmp \ --with-winbind \ --with-cachedir=/var/lib/samba \ --with-lockdir=/var/lib/samba \ --with-piddir=/run/samba \ --with-sockets-dir=/run/samba \ --with-privatedir=/var/lib/samba/private \ --with-logfilebase=/var/log/samba \ --with-configdir=/etc/samba \ --with-modulesdir=/usr/lib/samba \ --with-pammodulesdir=/lib/security \ --with-shared-modules=%s \ " % MODULES)
def setup(): pisitools.flags("+DdDOUBLE") shelltools.makedirs("build") shelltools.cd("build") cmaketools.configure("-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so", sourceDir="..")
def setup(): pisitools.flags("+fomit-frame-pointer +ffast-math") autotools.configure("--disable-static \ --enable-shared \ --enable-demos \ --with-trimesh=opcode \ --enable-new-trimesh \ --with-drawstuff=X11 \ --enable-libccd \ --enable-double-precision \ --disable-dependency-tracking")
def setup(): pisitools.flags("+fstack-protector-all +DLDAP_DEPRECATED=1") # For --enable-avahi autotools.aclocal("-I config-scripts") autotools.autoconf("-I config-scripts") options = '--with-cups-user=lp \ --with-cups-group=lp \ --with-system-groups=lpadmin \ --with-docdir=/usr/share/cups/html \ --with-dbusdir=/etc/dbus-1 \ --with-optim="%s -fstack-protector-all -DLDAP_DEPRECATED=1" \ --with-php=/usr/bin/php-cgi \ --without-java \ --enable-acl \ --enable-libpaper \ --enable-debug \ --enable-avahi \ --enable-gssapi \ --enable-dbus \ --enable-pam \ --enable-relro \ --enable-dnssd \ --enable-browsing \ --enable-threads \ --enable-gnutls \ --disable-launchd \ --without-rcdir \ --libdir=/usr/lib \ ' % get.CFLAGS() if get.buildTYPE() == "emul32": options += ' --disable-avahi \ --disable-gssapi \ --without-php \ --bindir=/usr/bin32 \ --sbindir=/usr/sbin32 \ --libdir=/usr/lib32' autotools.configure(options)
def setup(): shelltools.copy("../unifont*.pcf.gz", "./unifont.pcf.gz") shelltools.export( "GRUB_CONTRIB", "%s/grub-%s/grub-extras" % (get.workDIR(), get.srcVERSION())) pisitools.flags("-fstack-protector -fasynchronous-unwind-tables -O.") shelltools.system("./autogen.sh") shelltools.makedirs("../grub-efi") shelltools.system("cp -ar ./* %s/grub-efi/" % get.workDIR()) autotools.configure("--disable-werror \ --with-grubdir=grub2 \ --program-transform-name='s,grub,grub2,'\ --program-prefix='' \ --htmldir='/usr/share/doc/${PF}/html' \ --enable-mm-debug \ --enable-nls \ --enable-device-mapper \ --enable-cache-stats \ --enable-grub-mkfont \ --enable-grub-mount \ --%sable-efiemu" % "en" if get.ARCH() == "x86_64" else "dis") shelltools.cd("../grub-efi") autotools.configure("--with-platform='efi' \ --target='i386' \ --disable-efiemu \ --disable-werror \ --with-grubdir=grub2 \ --program-transform-name='s,grub,grub2,'\ --program-prefix='' \ --enable-mm-debug \ --enable-nls \ --enable-device-mapper \ --enable-cache-stats \ --enable-grub-mkfont \ --enable-grub-mount \ --htmldir='/usr/share/doc/${PF}/html' ")
def setup(): pisitools.flags("+fno-strict-aliasing") pisitools.dosed("configure", '(wx_cv_std_libpath="lib)64"', r'\1"') autotools.configure("--enable-gtk2 \ --enable-shared \ --disable-optimise \ --disable-debug \ --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 \ --without-odbc \ --with-opengl \ --with-regex=sys \ --with-zlib=sys \ --with-expat=sys")
def setup(): pisitools.flags("+DdDOUBLE") shelltools.makedirs("build") shelltools.cd("build") cmaketools.configure("-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so", sourceDir = "..")