コード例 #1
0
ファイル: actions.py プロジェクト: Omerkurt38/core
def build():
    autotools.make('OPT="%s" \
                    SHARED="yes" \
                    PREFIX=/usr \
                    IDSDIR="/usr/share/misc" \
                    MANDIR="/usr/share/man" \
                    all' % get.CFLAGS())
コード例 #2
0
ファイル: actions.py プロジェクト: Pardus-Linux/Packages
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()
コード例 #3
0
def build():
    shelltools.cd("source/")
    autotools.make("proto")
    autotools.make("everything")
    
    # build python modules
    shelltools.system("python python/setup.py build")
コード例 #4
0
def build():
    autotools.make()

    shelltools.cd("partx/")

    shelltools.export("CFLAGS", "%s -include linux/compiler.h" % get.CFLAGS())
    autotools.make("CFLAGS=\"${CFLAGS}\"")
コード例 #5
0
ファイル: actions.py プロジェクト: alihanozturk/PisiLinux
def build():
    for package in shelltools.ls("."):
        if package in SkipFiles:
            continue
        shelltools.cd(package)
        autotools.make()
        shelltools.cd("../")
コード例 #6
0
ファイル: actions.py プロジェクト: ibrahimkaraguzel/kuller
def build():
    shelltools.cd("build")

    autotools.make("-j1")

    shelltools.cd("lib")
    autotools.make("shared")
コード例 #7
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
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")
コード例 #8
0
ファイル: actions.py プロジェクト: ertugerata/main
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)
コード例 #9
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
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()
コード例 #10
0
ファイル: actions.py プロジェクト: Erick-Pardus/2013
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")
コード例 #11
0
ファイル: actions.py プロジェクト: blue-devil/kuller
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())
コード例 #12
0
ファイル: actions.py プロジェクト: DeepakBachu/2013
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()))
コード例 #13
0
ファイル: actions.py プロジェクト: aaydin/PisiLinux
def build():
    shelltools.export("R_HOME","")
    autotools.make()

    # build math library
    shelltools.cd("src/nmath/standalone")
    autotools.make("-j1")
コード例 #14
0
ファイル: actions.py プロジェクト: Erick-Pardus/Pardus
def build():
    #needed by mozilla patch, swig must be run again
    shelltools.cd("python")
    shelltools.system("./swig_lcms")
    shelltools.cd("..")

    autotools.make()
コード例 #15
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
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"')
コード例 #16
0
ファイル: actions.py プロジェクト: agafocus/playground
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")
コード例 #17
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
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()
コード例 #18
0
ファイル: actions.py プロジェクト: blue-devil/kuller
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")
コード例 #19
0
ファイル: actions.py プロジェクト: Pardus-Linux/Packages
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")
コード例 #20
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def build():
    # prepare Mesa for compilation
    shelltools.cd(mesa)
    autotools.make("linux-dri-x86")

    shelltools.cd("../%s" % xorgserver)
    autotools.make()
コード例 #21
0
ファイル: actions.py プロジェクト: blue-devil/kuller
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")
コード例 #22
0
ファイル: actions.py プロジェクト: Erick-Pardus/PisiLinux
def build():
    shelltools.cd("fcgi")
    shelltools.export("LC_ALL", "en_US.UTF-8")
    autotools.make()

    shelltools.cd("../apache")
    autotools.make()
コード例 #23
0
ファイル: actions.py プロジェクト: blue-devil/kuller
def build():
    autotools.make()

    for dir in ["plugin/auth-pam", "plugin/down-root", "easy-rsa/2.0"]:
        shelltools.cd(dir)
        autotools.make()
        shelltools.cd("../..")
コード例 #24
0
ファイル: kerneltools.py プロジェクト: Pardus-Linux/pisi
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)))
コード例 #25
0
ファイル: kerneltools.py プロジェクト: Pardus-Linux/pisi
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)
コード例 #26
0
ファイル: actions.py プロジェクト: enki-1923/PisiLinux
def check():
    autotools.make("check")
    # One test failed now, fix it

    # dlopen check
    shelltools.system("./dlopen-test.sh")
    pass
コード例 #27
0
def build():
    shelltools.export("ZLIBSRC", ZLIBSRC)
    shelltools.export("LPNGSRC", LPNGSRC)
    shelltools.export("JPEGSRC", JPEGSRC)
    shelltools.export("FT2SRC", FT2SRC)

    autotools.make("-j1 LIB=lib")
コード例 #28
0
ファイル: actions.py プロジェクト: AlpyDemirok/PisiLinux
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()
コード例 #29
0
ファイル: actions.py プロジェクト: alihanozturk/PisiLinux
def build():
    shelltools.export("LINGUAS", "")
    autotools.make(
        "ENABLE_NLS=1 \
                    LOCALEDIR=/usr/share/locale \
                    DATADIR=/usr/share/neverball"
    )
コード例 #30
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
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")
コード例 #31
0
def build():
    autotools.make("-j1 -f Makefile clean all")
コード例 #32
0
ファイル: actions.py プロジェクト: andytengca/Packages
def build():
    autotools.make()
コード例 #33
0
ファイル: actions.py プロジェクト: seaside82/anka-stable
def check():
    autotools.make("check")
コード例 #34
0
def check():
    # All 29 tests passes, yay
    autotools.make("check")
コード例 #35
0
def build():
    autotools.make("LIBTOOL=/usr/bin/libtool")

    #generate html docs
    autotools.make("doxygen")
コード例 #36
0
def build():
    autotools.make("CXXFLAGS='%s -fpie'" % get.CXXFLAGS())
コード例 #37
0
def build():
    autotools.make("V=1")
コード例 #38
0
def build():
    autotools.make()
    autotools.make("-j1 doc")
コード例 #39
0
ファイル: actions.py プロジェクト: marcin-/core
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()))
コード例 #40
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    autotools.make('DESTDIR="%s" installsrc' % get.installDIR())

    pisitools.dodoc("doc/*.txt", "doc/*.html")
コード例 #41
0
def build():
    autotools.make("-j1")
コード例 #42
0
def build():
    autotools.make("all")
    autotools.make("info")
コード例 #43
0
ファイル: actions.py プロジェクト: andytengca/Packages
def build():
    autotools.make("MODPROBE=/bin/true KLIB=/lib/modules/%s" % KDIR)
コード例 #44
0
ファイル: actions.py プロジェクト: mrust1/PisiLinux
def build():
    shelltools.export("LINGUAS", "")
    autotools.make("ENABLE_NLS=1 \
                    LOCALEDIR=/usr/share/locale \
                    DATADIR=/usr/share/neverball")
コード例 #45
0
def build():
    shelltools.export("CFLAGS", "-02 -fno-strict-aliasing")
    shelltools.export("LC_ALL", "C")
    autotools.make()
コード例 #46
0
ファイル: actions.py プロジェクト: klaipedetis/PisiLinux
def build():
    autotools.make("CC=%s" % get.CC())
コード例 #47
0
def build():
    autotools.make()
    autotools.make("check")
コード例 #48
0
def build():
    autotools.make("KLIB=/lib/modules/%s" % KDIR)
コード例 #49
0
ファイル: actions.py プロジェクト: andytengca/Packages
def build():
    autotools.make("includes")
    autotools.make("CDEBUGFLAGS='%s'" % get.CFLAGS())
コード例 #50
0
def build():
    shelltools.export("MONO_SHARED_DIR", ".")
    autotools.make("-j1")
コード例 #51
0
ファイル: actions.py プロジェクト: seaside82/anka-stable
def build():
    autotools.make("full-ttf")
コード例 #52
0
def build():
    shelltools.export("LDFLAGS",
                      get.LDFLAGS().replace("-Wl,--no-undefined", ""))
    autotools.make()
コード例 #53
0
def build():
    shelltools.cd("build-js")
    autotools.make()
コード例 #54
0
ファイル: actions.py プロジェクト: blue-devil/2013
def build():
    shelltools.export('HOME', get.workDIR())
    autotools.make()
コード例 #55
0
ファイル: actions.py プロジェクト: andytengca/Packages
def build():
    autotools.make("-j1 all.opt")
コード例 #56
0
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())
コード例 #57
0
def build():
    autotools.make("CFLAGS=\"%s\"" % (get.CFLAGS()))
コード例 #58
0
ファイル: actions.py プロジェクト: narusaku61/playground
def build():
    autotools.make("PREFIX=/usr")
コード例 #59
0
def build():
    # for mono sandbox errors
    shelltools.export("MONO_SHARED_DIR", get.workDIR())
    autotools.make()
コード例 #60
0
def build():
    autotools.make("CC=%s OPT_CFLAGS='%s' EXTRA_LDFLAGS='%s'" %
                   (get.CC(), get.CFLAGS(), get.LDFLAGS()))