def build(): autotools.make('OPT="%s" \ SHARED="yes" \ PREFIX=/usr \ IDSDIR="/usr/share/misc" \ MANDIR="/usr/share/man" \ all' % get.CFLAGS())
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 build(): shelltools.cd("source/") autotools.make("proto") autotools.make("everything") # build python modules shelltools.system("python python/setup.py build")
def build(): autotools.make() shelltools.cd("partx/") shelltools.export("CFLAGS", "%s -include linux/compiler.h" % get.CFLAGS()) autotools.make("CFLAGS=\"${CFLAGS}\"")
def build(): for package in shelltools.ls("."): if package in SkipFiles: continue shelltools.cd(package) autotools.make() shelltools.cd("../")
def build(): shelltools.cd("build") autotools.make("-j1") shelltools.cd("lib") autotools.make("shared")
def build(): # autotools.make("dist-xen dist-tools dist-stubdom") autotools.make("dist-tools") # autotools.make("dist-stubdom") shelltools.export("LDFLAGS", "") # shelltools.export("CFLAGS", "") autotools.make("dist-xen")
def build(): shelltools.export("CFLAGS", cflags) shelltools.export("LDFLAGS", extraldflags) printfancy("building qemu") autotools.make("V=1 -j1 config-host.h %s" % buildldflags) autotools.make("V=1 %s" % buildldflags)
def install(): autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR()) autotools.make("DESTDIR=%s prefix=/usr install-doc" % get.installDIR()) pisitools.dodoc("README", "COPYING", "Documentation/SubmittingPatches") perlmodules.fixLocalPod()
def build(): shelltools.cd("generator") autotools.make("-j1") shelltools.system("QTDIR=/usr/share/qt4 ./generator --include-paths='/usr/include'") shelltools.cd("../qtbindings") autotools.make("-j1")
def install(): kerneltools.install() # Dump kernel version into /etc/kernel/ kerneltools.dumpVersion() # Install kernel headers needed for out-of-tree module compilation # You can provide a list of extra directories from which to grab *.h files. kerneltools.installHeaders(extra=["drivers/media/dvb/dvb-core", "drivers/media/dvb/frontends", "drivers/media/video"]) # Drop /usr/include/scsi directory as it's shipped within glibc kerneltools.installLibcHeaders(excludes=["scsi"]) # Install kernel source kerneltools.installSource() # Clean module-init-tools related stuff kerneltools.cleanModuleFiles() # Build and install the new 'perf' tool autotools.make("V=1 -C tools/perf perf") pisitools.insinto("/usr/bin", "tools/perf/perf", "perf.%s-%s" % (get.srcNAME(), get.srcVERSION())) autotools.install("-C tools/perf/Documentation install-man mandir=%s/usr/share/man" % get.installDIR())
def build(): shelltools.export("AR", "ar") shelltools.export("RANLIB", "ranlib") shelltools.export("CFLAGS", cflags) shelltools.export("CXXFLAGS", cxxflags) shelltools.cd(source) autotools.make("-C ../libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc") autotools.make('BINDIR=release \ BUILD_CLIENT=YES \ BUILD_SERVER=YES \ BUILD_IRC=YES \ BUILD_SND_QF=YES \ BUILD_SND_OPENAL=YES \ BUILD_TV_SERVER=YES \ BUILD_ANGELWRAP=YES \ DEBUG_BUILD=NO \ BASE_ARCH=%s \ CC="%s" \ CXX="%s" \ V=1 \ VERBOSE=1 \ all' % (arch, get.CC(), get.CXX()))
def build(): shelltools.export("R_HOME","") autotools.make() # build math library shelltools.cd("src/nmath/standalone") autotools.make("-j1")
def build(): #needed by mozilla patch, swig must be run again shelltools.cd("python") shelltools.system("./swig_lcms") shelltools.cd("..") autotools.make()
def build(): # shelltools.export("CFLAGS", "-Werror -Wno-unused -finline-limit=2000") shelltools.export("CFLAGS", get.CFLAGS()) shelltools.export("LDFLAGS", "") autotools.make('DATE="PARDUS" spotless') autotools.make('DATE="PARDUS"')
def install(): autotools.make('DESTDIR=%s XFIGDOCDIR=/usr/share/doc/xfig LIBDIR=/usr/share \ MANDIR=/usr/share/man/man1 \ XAPPLOADDIR=/usr/share/X11/app-defaults install.all' % get.installDIR()) pisitools.insinto("/usr/share/pixmaps", "xfig.png") pisitools.remove("/usr/share/app-defaults")
def build(): cc_args = "-DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/postgresql -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DHAS_LDAP" cc_libs = "-Wl,-z,now -L/usr/lib -lpcre -lcrypt -lpthread -lpam -lssl -lcrypto -lsasl2 -lmysqlclient -lpq -lm -lz -lldap -llber" # Sed operations pisitools.dosed("src/global/mail_params.h", \ "#define DEF_README_DIR\s+\"no\"", \ "#define DEF_README_DIR \"/usr/share/doc/%s/readme\"" % get.srcTAG()) pisitools.dosed("src/global/mail_params.h", \ "#define DEF_HTML_DIR\s+\"no\"", \ "#define DEF_HTML_DIR \"/usr/share/doc/%s/html\"" % get.srcTAG()) pisitools.dosed("src/global/mail_params.h", \ "#define DEF_MANPAGE_DIR\s+\"/usr/local/man\"", \ "#define DEF_MANPAGE_DIR \"/usr/share/man\"") pisitools.dosed("src/util/sys_defs.h", \ "#define NATIVE_DAEMON_DIR \"/usr/libexec/postfix\"", \ "#define NATIVE_DAEMON_DIR \"/usr/lib/postfix\"") autotools.make("CC=%s \ OPT=\"%s\" \ CCARGS=\"%s\" \ AUXLIBS=\"%s\" makefiles" % (get.CC(), get.CFLAGS(), cc_args, cc_libs)) autotools.make()
def build(): shelltools.export("HOME", get.workDIR()) #TODO: this does not work, find another solution #shelltools.export("CLASSPATH", "%s:/usr/share/java/xercesImpl.jar" % os.environ.get("CLASSPATH")) #FIXME: parallel build seems not to work well :/ autotools.make("-j1")
def install(): autotools.make("DESTDIR=%s install" % get.installDIR()) autotools.make("DESTDIR=%s fontdir" % get.installDIR()) pisitools.dosym("../conf.avail/63-terminus-fonts-fontconfig.conf", "/etc/fonts/conf.d/63-terminus-fonts-fontconfig.conf") pisitools.dodoc("README")
def build(): # prepare Mesa for compilation shelltools.cd(mesa) autotools.make("linux-dri-x86") shelltools.cd("../%s" % xorgserver) autotools.make()
def install(): autotools.make('DESTDIR=%s \ MANDIR=/usr/share/man/man1 \ MANSUFFIX=1 \ install install.all' % get.installDIR()) pisitools.insinto("/usr/share/pixmaps", "xfig.png")
def build(): shelltools.cd("fcgi") shelltools.export("LC_ALL", "en_US.UTF-8") autotools.make() shelltools.cd("../apache") autotools.make()
def build(): autotools.make() for dir in ["plugin/auth-pam", "plugin/down-root", "easy-rsa/2.0"]: shelltools.cd(dir) autotools.make() shelltools.cd("../..")
def build(debugSymbols=False): extra_config = [] if debugSymbols: # Enable debugging symbols (-g -gdwarf2) extra_config.append("CONFIG_DEBUG_INFO=y") autotools.make("ARCH=%s %s" % (__getKernelARCH(), " ".join(extra_config)))
def installLibcHeaders(excludes=None): headers_tmp = os.path.join(get.installDIR(), 'tmp-headers') headers_dir = os.path.join(get.installDIR(), 'usr/include') make_cmd = "O=%s INSTALL_HDR_PATH=%s/install" % (headers_tmp, headers_tmp) # Cleanup temporary header directory shelltools.system("rm -rf %s" % headers_tmp) # Create directories shelltools.makedirs(headers_tmp) shelltools.makedirs(headers_dir) # make defconfig and install the headers autotools.make("%s defconfig" % make_cmd) autotools.rawInstall(make_cmd, "headers_install") oldwd = os.getcwd() shelltools.cd(os.path.join(headers_tmp, "install", "include")) shelltools.system("find . -name '.' -o -name '.*' -prune -o -print | \ cpio -pVd --preserve-modification-time %s" % headers_dir) # Remove sound/ directory which is installed by alsa-headers shelltools.system("rm -rf %s/sound" % headers_dir) # Remove possible excludes given by actions.py if excludes: shelltools.system("rm -rf %s" % " ".join(["%s/%s" % (headers_dir, exc.strip("/")) for exc in excludes])) shelltools.cd(oldwd) # Remove tmp directory shelltools.system("rm -rf %s" % headers_tmp)
def check(): autotools.make("check") # One test failed now, fix it # dlopen check shelltools.system("./dlopen-test.sh") pass
def build(): shelltools.export("ZLIBSRC", ZLIBSRC) shelltools.export("LPNGSRC", LPNGSRC) shelltools.export("JPEGSRC", JPEGSRC) shelltools.export("FT2SRC", FT2SRC) autotools.make("-j1 LIB=lib")
def build(): shelltools.export("LC_ALL", "C") shelltools.cd("ddd") autotools.make("version.h build.h host.h root.h configinfo.C Ddd.ad.h") shelltools.cd("..") autotools.make()
def build(): shelltools.export("LINGUAS", "") autotools.make( "ENABLE_NLS=1 \ LOCALEDIR=/usr/share/locale \ DATADIR=/usr/share/neverball" )
def setup(): pisitools.dosed("runtime/tools/mve.awk", "#!/usr/bin/nawk -f", "#!/usr/bin/awk -f") shelltools.echo("src/feature.h", "#define SYS_VIMRC_FILE \"/etc/vim/vimrc\"") pisitools.dosed("runtime/doc/syntax.txt", "(ctags(\"| [-*.]|\\s+/))", "exuberant-\\1") pisitools.dosed("runtime/doc/tagsrch.txt", "(ctags(\"| [-*.]|\\s+/))", "exuberant-\\1") pisitools.dosed("runtime/doc/usr_29.txt", "(ctags(\"| [-*.]|\\s+/))", "exuberant-\\1") pisitools.dosed("runtime/menu.vim", "(ctags(\"| [-*.]|\\s+/))", "exuberant-\\1") pisitools.dosed("src/configure.in", "(ctags(\"| [-*.]|\\s+/))", "exuberant-\\1") pisitools.dosed("src/configure.in", " libc\.h ", " ") pisitools.dosed("src/Makefile", " auto.config.mk:", ":") pisitools.remove("src/auto/configure") shelltools.export("WANT_AUTOCONF", "2.5") autotools.make("-C src autoconf") autotools.configure("--with-features=huge \ --enable-multibyte \ --enable-perlinterp \ --enable-pythoninterp \ --enable-gui=yes \ --with-tlib=ncurses \ --disable-acl \ --disable-selinux \ --with-x")
def build(): autotools.make("-j1 -f Makefile clean all")
def build(): autotools.make()
def check(): autotools.make("check")
def check(): # All 29 tests passes, yay autotools.make("check")
def build(): autotools.make("LIBTOOL=/usr/bin/libtool") #generate html docs autotools.make("doxygen")
def build(): autotools.make("CXXFLAGS='%s -fpie'" % get.CXXFLAGS())
def build(): autotools.make("V=1")
def build(): autotools.make() autotools.make("-j1 doc")
def build(): #shelltools.system("sed -i '/gets is a security hole/d' gnulib/lib/stdio.in.h") autotools.make("CC='%s %s' V=1 nls=all" % (get.CC(), get.CFLAGS()))
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.make('DESTDIR="%s" installsrc' % get.installDIR()) pisitools.dodoc("doc/*.txt", "doc/*.html")
def build(): autotools.make("-j1")
def build(): autotools.make("all") autotools.make("info")
def build(): autotools.make("MODPROBE=/bin/true KLIB=/lib/modules/%s" % KDIR)
def build(): shelltools.export("LINGUAS", "") autotools.make("ENABLE_NLS=1 \ LOCALEDIR=/usr/share/locale \ DATADIR=/usr/share/neverball")
def build(): shelltools.export("CFLAGS", "-02 -fno-strict-aliasing") shelltools.export("LC_ALL", "C") autotools.make()
def build(): autotools.make("CC=%s" % get.CC())
def build(): autotools.make() autotools.make("check")
def build(): autotools.make("KLIB=/lib/modules/%s" % KDIR)
def build(): autotools.make("includes") autotools.make("CDEBUGFLAGS='%s'" % get.CFLAGS())
def build(): shelltools.export("MONO_SHARED_DIR", ".") autotools.make("-j1")
def build(): autotools.make("full-ttf")
def build(): shelltools.export("LDFLAGS", get.LDFLAGS().replace("-Wl,--no-undefined", "")) autotools.make()
def build(): shelltools.cd("build-js") autotools.make()
def build(): shelltools.export('HOME', get.workDIR()) autotools.make()
def build(): autotools.make("-j1 all.opt")
def build(): shelltools.makedirs( "/var/pisi/detourious-theme-0.0.1_57717-1/install/usr/share/enlightenment/data/themes/" ) autotools.make("prefix=%s/usr" % get.installDIR())
def build(): autotools.make("CFLAGS=\"%s\"" % (get.CFLAGS()))
def build(): autotools.make("PREFIX=/usr")
def build(): # for mono sandbox errors shelltools.export("MONO_SHARED_DIR", get.workDIR()) autotools.make()
def build(): autotools.make("CC=%s OPT_CFLAGS='%s' EXTRA_LDFLAGS='%s'" % (get.CC(), get.CFLAGS(), get.LDFLAGS()))