def install(): shelltools.cd("squashfs-tools") autotools.install("INSTALL_DIR='%s/usr/sbin'" % get.installDIR())
def build(): shelltools.cd("libraries/liblmdb") autotools.make("prefix=/usr")
def build(): shelltools.cd("moz-build") shelltools.export("SHELL", "/bin/bash") autotools.make()
def setup(): shelltools.export("PYTHON", "/usr/bin/python3") for dirs in ["tools", "projects"]: if not shelltools.can_access_directory(dirs): shelltools.makedirs(dirs) if not shelltools.can_access_directory("tools/clang"): shelltools.system("tar -xvf ../clang-%s.src.tar.xz -C tools" % get.srcVERSION()) shelltools.move("tools/clang-%s.src" % get.srcVERSION(), "tools/clang") shelltools.system( "tar -xvf ../clang-tools-extra-%s.src.tar.xz -C tools" % get.srcVERSION()) shelltools.move("tools/clang-tools-extra-*", "tools/clang/extra") if get.buildTYPE() != "emul32": shelltools.system("tar -xvf ../lldb-%s.src.tar.xz -C tools" % get.srcVERSION()) shelltools.move("tools/lldb-*", "tools/lldb") if not shelltools.can_access_directory("tools/polly"): shelltools.system("tar -xvf ../polly-%s.src.tar.xz -C tools" % get.srcVERSION()) shelltools.move("tools/polly-*", "tools/polly") if not shelltools.can_access_directory("projects/compiler-rt"): shelltools.system("tar -xvf ../compiler-rt-%s.src.tar.xz -C projects" % get.srcVERSION()) shelltools.move("projects/compiler-rt-%s.src" % get.srcVERSION(), "projects/compiler-rt") shelltools.export("CC", "gcc") shelltools.export("CXX", "g++") if get.buildTYPE() == "emul32": shelltools.export("CC", "gcc -m32") shelltools.export("CXX", "g++ -m32") shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig") shelltools.makedirs("inary-build") shelltools.cd("inary-build") if get.buildTYPE() != "emul32": options = "-DCMAKE_C_FLAGS:STRING=-m64 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_CXX_FLAGS:STRING=-m64 \ -DLLVM_TARGET_ARCH:STRING=x86_64 \ -DLLVM_DEFAULT_TARGET_TRIPLE=%s " % get.HOST() if get.buildTYPE() == "emul32": options = " -DCMAKE_C_FLAGS:STRING=-m32 \ -DCMAKE_INSTALL_PREFIX=/emul32 \ -DLLVM_TARGET_ARCH:STRING=i686 \ -DLLVM_INCLUDE_TESTS=NO \ -DLLVM_LIBDIR_SUFFIX=32 \ -DLLVM_DEFAULT_TARGET_TRIPLE='i686-pc-linux-gnu' \ -DCMAKE_CXX_FLAGS:STRING=-m32" cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \ %s \ -DLLVM_BUILD_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_INSTALL_UTILS=ON \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_FFI=ON \ -DLLVM_BUILD_TESTS=OFF \ -DLLVM_BUILD_DOCS=OFF \ -DLLVM_ENABLE_SPHINX=OFF \ -DLLVM_ENABLE_DOXYGEN=OFF \ -DPOLLY_ENABLE_GPGPU_CODEGEN=ON \ -DFFI_INCLUDE_DIR=/usr/lib/libffi-3.2.1/include \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BINUTILS_INCDIR=/usr/include" % options, sourceDir="..")
def install(): shelltools.cd("build") autotools.rawInstall("DESTDIR=%s" % get.installDIR())
def setup(): shelltools.makedirs("build") shelltools.cd("build") cmaketools.configure(sourceDir="..")
def build(): if get.LDFLAGS(): ld = "-j1 LD=%s %s" % (get.LD(), get.LDFLAGS()) else: ld = "-j1 LD=%s" % get.LD() autotools.make(ld) shelltools.cd("contrib") autotools.make(ld) shelltools.cd("..") shelltools.cd("contrib/xml2") autotools.make(ld) shelltools.cd("../..") shelltools.cd("src/interfaces/libpq") autotools.make(ld) shelltools.cd("../../..") shelltools.cd("doc") autotools.make(ld) shelltools.cd("..")
def build(): shelltools.cd("%s/runc/src/github.com/opencontainers/runc" % get.workDIR()) build_runc = "GOPATH=%s/runc make" % get.workDIR() shelltools.system(build_runc)
def build(): shelltools.cd("build") autotools.make()
def build(): shelltools.cd("libvpx-build") shelltools.system("make -j1 LDFLAGS=\"{} -fPIC\"".format(get.LDFLAGS()))
def install(): shelltools.cd("libvpx-build") autotools.rawInstall("DESTDIR=%s/" % get.installDIR()) shelltools.cd("..") inarytools.dodoc("AUTHORS", "CHANGELOG", "LICENSE", "PATENTS")
def install(): shelltools.cd("budgie-desktop") mesontools.ninja_install()
def build(): shelltools.cd("budgie-desktop") mesontools.ninja_build()
def install(): shelltools.cd("moz-build") shelltools.export("SHELL", "/bin/bash") autotools.rawInstall("DESTDIR=%s" % get.installDIR())
def setup(): for package in shelltools.ls("*-*"): shelltools.cd(package) option = "--with-fontrootdir=/usr/share/fonts" autotools.configure(option) shelltools.cd("../")
def build(): autotools.make() shelltools.cd("doc") shelltools.system( "po4a -k 0 --rm-backups --variable 'srcdir=../doc/' po4a/po4a.cfg")
def build(): for package in shelltools.ls("*-*"): shelltools.cd(package) autotools.make() shelltools.cd("../")
def build(): shelltools.cd("js/src") autotools.make()
def build(): shelltools.cd("build") cmaketools.make()
def setup(): shelltools.cd("nss") shelltools.system('PATH="{}/path:$PATH" bash -x ./build.sh -v \ --opt --system-sqlite --system-nspr --enable-libpkix --disable-tests' .format(get.srcDIR()))
def install(): autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR())) shelltools.cd("contrib") autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR())) shelltools.cd("..") shelltools.cd("contrib/xml2") autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR())) shelltools.cd("../..") shelltools.cd("src/interfaces/libpq") autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR())) shelltools.cd("../../..") shelltools.cd("doc") autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR())) shelltools.cd("..") # No static libs inarytools.remove("/usr/lib/*.a") inarytools.dodoc("README", "HISTORY", "COPYRIGHT") inarytools.dodoc("doc/MISSING_FEATURES", "doc/KNOWN_BUGS", "doc/TODO") inarytools.dodir("/var/lib/postgresql") inarytools.dodir("/var/lib/postgresql/data") inarytools.dodir("/var/lib/postgresql/backups")
def install(): shelltools.cd("src") autotools.rawInstall("ROOT='%s' STRIP=/bin/true" % get.installDIR()) inarytools.remove("/bin/pidof") inarytools.dosym("killall5", "/sbin/pidof")
def build(): shelltools.export("PYTHON", "/usr/bin/python3") shelltools.makedirs("inary-build") shelltools.cd("inary-build") cmaketools.make()
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from inary.actionsapi import autotools from inary.actionsapi import mesontools from inary.actionsapi import cmaketools from inary.actionsapi import inarytools from inary.actionsapi import shelltools from inary.actionsapi import get shelltools.cd("../libhandy-0.90.0") def setup(): shelltools.system("pwd") mesontools.meson_configure() def build(): mesontools.ninja_build() def install(): mesontools.ninja_install()
def build(): autotools.make() shelltools.cd("python") pythonmodules.compile(pyVer="3") shelltools.cd("..")
def build(): shelltools.cd("unix") autotools.make()
def setup(): shelltools.makedirs("components/cli/src/github.com/docker") shelltools.cd("components/cli/src/github.com/docker") shelltools.system("ln -s ../../../../cli . ")
def build(): shelltools.cd("build-gtk2") autotools.make() shelltools.cd("..") shelltools.cd("build-gtk3") autotools.make()
def install(): shelltools.cd("moz-build") shelltools.export("SHELL", "/bin/bash") autotools.rawInstall("DESTDIR=%s" % get.installDIR()) #BUG: at issue #24 in gitlab inarytools.remove("/usr/lib/*.ajs")
def install(): shelltools.cd("build") cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.cd("..") inarytools.dodoc("COPYING*")