예제 #1
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    inarytools.remove("/usr/bin/perl")
    # Conflicts with perl-Module-Build
    # inarytools.remove("/usr/bin/config_data")

    inarytools.dosym("/usr/bin/perl%s" % get.srcVERSION(), "/usr/bin/perl")

    # Perl5 library
    # NEEDS MODIFICATION FOR NEW VERSION
    inarytools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so")
    inarytools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5")
    inarytools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5.26")
    inarytools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5.26.1")

    # Docs
    inarytools.dodir("/usr/share/doc/%s/html" % get.srcNAME())
    shelltools.system('LD_LIBRARY_PATH=%s ./perl installhtml \
                       --podroot="." \
                       --podpath="lib:ext:pod:vms" \
                       --recurse \
                       --htmldir="%s/usr/share/doc/%s/html"' % (get.curDIR(), get.installDIR(), get.srcNAME()))

    perlmodules.removePodfiles()
    perlmodules.removePacklist()
    inarytools.dodoc("Changes*", "Artistic", "Copying", "README", "AUTHORS")
예제 #2
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # add missing gzcat
    inarytools.dosym("zcat", "/bin/gzcat")

    inarytools.dodoc("ChangeLog", "NEWS", "README", "THANKS", "TODO")
예제 #3
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    for file in shelltools.ls("%s/bin" % get.installDIR()):
        inarytools.dosym("/bin/%s" % file, "/usr/bin/%s" % file)

    inarytools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
예제 #4
0
def install():
    shelltools.system("make -C unix DESTDIR=%s install" % get.installDIR())

    # Collect private headers, 3rd party apps like Tile depends on this
    inarytools.dodir("/usr/include/tk-private/generic")
    inarytools.dodir("/usr/include/tk-private/unix")
    shelltools.copy("unix/*.h",
                    "%s/usr/include/tk-private/unix" % get.installDIR())
    shelltools.copy("generic/*.h",
                    "%s/usr/include/tk-private/generic" % get.installDIR())

    # Remove duplicated headers
    inarytools.remove("/usr/include/tk-private/generic/tk.h")
    inarytools.remove("/usr/include/tk-private/generic/tkDecls.h")
    inarytools.remove("/usr/include/tk-private/generic/tkPlatDecls.h")

    # Remove tmp path from tclConfig.sh
    inarytools.dosed("%s/usr/lib/tkConfig.sh" % get.installDIR(),
                     "%s/unix" % get.curDIR(), "/usr/lib/")
    inarytools.dosed("%s/usr/lib/tkConfig.sh" % get.installDIR(), get.curDIR(),
                     "/usr/include/tk-private")

    inarytools.dosym("wish8.6", "/usr/bin/wish")

    inarytools.dodoc("ChangeLog", "changes", "license.terms", "README.md")
예제 #5
0
def install():
    autotools.rawInstall('DESTDIR=%s' % get.installDIR())
    #legacy support
    inarytools.dosym("libxfce4ui-2.so", "/usr/lib/libxfce4ui-1.so")
    inarytools.dosym("libxfce4ui-2.so", "/usr/lib/libxfce4ui-1.so.0")
    inarytools.dodoc('NEWS', 'COPYING', 'TODO', 'ChangeLog', 'AUTHORS',
                     'THANKS')
예제 #6
0
def install():
    autotools.rawInstall("-j1 DESTDIR=%s%s" % (get.installDIR(), suffix))
    #autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # emul32 stop here
    if get.buildTYPE() == "emul32":
        shelltools.move("%s%s/lib32" % (get.installDIR(), suffix),
                        "%s/lib32" % (get.installDIR()))
        shelltools.move("%s%s/usr/lib32" % (get.installDIR(), suffix),
                        "%s/usr/lib32" % (get.installDIR()))
        for f in shelltools.ls("%s/usr/lib32/pkgconfig" % get.installDIR()):
            inarytools.dosed(
                "%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), "emul32",
                "usr")
        return

    #add link
    inarytools.dosym("/sbin/udevadm", "/bin/udevadm")

    # Create vol_id and scsi_id symlinks in /sbin probably needed by multipath-tools
    inarytools.dosym("/lib/udev/scsi_id", "/sbin/scsi_id")

    # Create /sbin/systemd-udevd -> /sbin/udevd sysmlink, we need it for MUDUR, do not touch this sysmlink.
    # inarytools.dosym("/lib/systemd/systemd-udevd", "/sbin/systemd-udevd")

    # Create /etc/udev/rules.d for backward compatibility
    inarytools.dodir("/etc/udev/rules.d")
    inarytools.dodir("/run/udev")

    # Add man files
    inarytools.doman("man/*.5", "man/*.7", "man/*.8")

    inarytools.dodoc("README*", "NOTES")
예제 #7
0
def install():
    qt.install("INSTALL_ROOT=%s" % get.installDIR())
    qt.install("INSTALL_ROOT=%s install_docs" % get.installDIR())

    #I hope qtchooser will manage this issue
    for bin in shelltools.ls("%s/usr/lib/qt5/bin" % get.installDIR()):
        inarytools.dosym("/usr/lib/qt5/bin/%s" % bin, "/usr/bin/%s-qt5" % bin)
예제 #8
0
def install():
#make install command with parameter
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#create symlink
    inarytools.dosym("/usr/bin/example", "/bin/example")
#remove file
    inarytools.remove("/bin/example")
예제 #9
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    inarytools.dosym("gmake", "/usr/bin/make")
    inarytools.dosym("gmake.1", "/usr/share/man/man1/make.1")

    inarytools.dodoc("AUTHORS", "NEWS", "README*")
예제 #10
0
def install():
    autotools.rawInstall("BASEDIR=%s" % get.installDIR())

    inarytools.dosbin("ether-wake")
    inarytools.dosym("/bin/hostname", "/usr/bin/hostname")

    inarytools.dodoc("README", "README.ipv6", "TODO")
예제 #11
0
def install():
    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
    if get.buildTYPE() == "emul32":
        inarytools.dosym("libjson-c.so","/usr/lib32/libjson-c.so.4")
    else:
        inarytools.dosym("libjson-c.so","/usr/lib/libjson-c.so.4")

    inarytools.dodoc("COPYING", "README", "ChangeLog", "AUTHORS", "NEWS")
예제 #12
0
def install():
    shelltools.cd("build")
    cmaketools.install()
    shelltools.cd("..")
    inarytools.dosym("/usr/lib/CLucene/clucene-config.h",
                     "/usr/include/CLucene/clucene-config.h")

    inarytools.dodoc("AUTHORS", "README", "COPYING", "ChangeLog")
예제 #13
0
def install():
    inarytools.dobin("pbzip2")
    inarytools.doman("pbzip2.1")

    inarytools.dosym("pbzip2", "/usr/bin/pbunzip2")
    inarytools.dosym("pbzip2", "/usr/bin/pbzcat")

    inarytools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
예제 #14
0
def install():
    kde.install()
    inarytools.dosym("/usr/lib/plasma-discover/libDiscoverNotifiers.so",
                     "usr/lib/libDiscoverNotifiers.so")
    inarytools.dosym("/usr/lib/plasma-discover/libDiscoverCommon.so",
                     "usr/lib/libDiscoverCommon.so")

    inarytools.dodoc("COPYING")
예제 #15
0
def install():
    inarytools.dobin("runc")

    inarytools.dosym("/usr/bin/runc", "/usr/bin/docker-runc")

    inarytools.insinto("/usr/share/doc/runc", "contrib")

    inarytools.dodoc("MAINTAINERS", "README*")
예제 #16
0
def install():
    qt.install("INSTALL_ROOT=%s install_docs" % get.installDIR())

    #I hope qtchooser will manage this issue
    for bin in shelltools.ls("%s/usr/lib/qt5/bin" % get.installDIR()):
        inarytools.dosym("/usr/lib/qt5/bin/%s" % bin, "/usr/bin/%s-qt5" % bin)

    inarytools.insinto("/usr/share/licenses/qt5-svg/", "LICENSE.*")
예제 #17
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # Remove versioned binaries
    inarytools.remove("/usr/bin/*-%s" % get.srcVERSION())

    inarytools.dosym("gawk.1", "/usr/share/man/man1/awk.1")
    inarytools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
예제 #18
0
def install():
    inarytools.dolib("libiniparser.so.1")
    inarytools.dosym("libiniparser.so.1", "/usr/lib/libiniparser.so")

    inarytools.dodir("/usr/include")
    inarytools.insinto("/usr/include", "src/*.h")

    inarytools.dodoc("README.md", "AUTHORS", "LICENSE")
예제 #19
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    #remove after usbmove
    inarytools.dosym("/usr/sbin/biosdevname", "/sbin/biosdevname")

    inarytools.dodoc("AUTHORS", "NEWS", "ChangeLog", "COPYING", "TODO",
                     "README")
예제 #20
0
def install():
    shelltools.cd("js/src")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    inarytools.dodoc("README*")

    # add link for polkit
    inarytools.dosym("libmozjs-..so", "/usr/lib/libmozjs-17.0.so")
예제 #21
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    #legacy support
    inarytools.dosym("libexo-2.so","/usr/lib/libexo-1.so")
    inarytools.dosym("libexo-2.so.0","/usr/lib/libexo-1.so.0")

    inarytools.dodoc("AUTHORS", "COPYING*", "ChangeLog", "NEWS", "THANKS")
예제 #22
0
def install():
    shelltools.cd("build")

    autotools.rawInstall("install_root=%s" % get.installDIR())

    inarytools.dodir("/etc/ld.so.conf.d")

    if get.buildTYPE() != "emul32":
        #Install locales once.
        autotools.rawInstall("install_root=%s localedata/install-locales" %
                             get.installDIR())

    if get.buildTYPE() == "emul32":
        inarytools.dosym("/lib32/ld-linux.so.2", "/lib/ld-linux.so.2")

        shelltools.echo(
            "%s/etc/ld.so.conf.d/60-glibc-32bit.conf" % get.installDIR(),
            ldconf32bit)

        inarytools.removeDir("/tmp32")

    # We'll take care of the cache ourselves
    if shelltools.isFile("%s/etc/ld.so.cache" % get.installDIR()):
        inarytools.remove("/etc/ld.so.cache")

    # Prevent overwriting of the /etc/localtime symlink
    if shelltools.isFile("%s/etc/localtime" % get.installDIR()):
        inarytools.remove("/etc/localtime")

    # Nscd needs this to work
    inarytools.dodir("/var/run/nscd")
    inarytools.dodir("/var/db/nscd")

    # remove zoneinfo files since they are coming from timezone packages
    # we disable timezone build with a patch, keeping these lines for easier maintenance
    if shelltools.isDirectory("%s/usr/share/zoneinfo" % get.installDIR()):
        inarytools.removeDir("/usr/share/zoneinfo")

    #while bootstrapping whole system zic should not be removed. timezone package does not build without it. # 2013
    #for i in ["zdump","zic"]:
    #if shelltools.isFile("%s/usr/sbin/%s" % (get.installDIR(), i)):
    #inarytools.remove("/usr/sbin/%s" % i)

    shelltools.cd("..")
    #remove unused locale
    for l in ["ku", "hy"]:
        shelltools.system("rm -rf {}/usr/lib/locale/{}_*".format(
            get.installDIR(), l))
        shelltools.system("rm -rf {}/usr/share/locale/{}*".format(
            get.installDIR(), l))
        shelltools.system("rm -rf {}/usr/share/i18n/locales/{}_*".format(
            get.installDIR(), l))
    #clean
    if shelltools.isFile("%s/usr/lib/locale/locale-archive" %
                         get.installDIR()):
        inarytools.remove("/usr/lib/locale/locale-archive")

    inarytools.dodoc("NEWS", "README*", "LICENSES")
예제 #23
0
def install():
    mesontools.ninja_install()

    inarytools.removeDir("/dev")
    #   inarytools.removeDir("/etc")

    # Make compat symlinks into /usr/bin
    inarytools.dosym("/bin/fusermount", "/usr/bin/fusermount")
    inarytools.dosym("/bin/ulockmgr_server", "/usr/bin/ulockmgr_server")
예제 #24
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    inarytools.insinto("/etc/", "doc/sample.nanorc", "nanorc")
    inarytools.dosym("/usr/bin/nano", "/bin/nano")

    inarytools.dohtml("doc/*.html")
    inarytools.dodoc("ChangeLog*", "README", "doc/sample.nanorc", "AUTHORS",
                     "NEWS", "TODO", "COPYING*", "THANKS")
예제 #25
0
def install():
    shelltools.system("rm -r po/*")
    pythonmodules.install("--install-lib=/usr/lib/sulin", pyVer='3')

    inarytools.dosym("inary-cli", "/usr/bin/inary")

    inarytools.dodir("/var/lib/inary/info/")

    inarytools.dodir("/usr/lib/sulin")
예제 #26
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    if get.buildTYPE() == "emul32":
        inarytools.removeDir("/usr/lib32/%s" % get.srcDIR())
        inarytools.dosym("/usr/lib/%s/include" % get.srcDIR(),
        "/usr/lib32/%s/include" % get.srcDIR())

    inarytools.dodoc("ChangeLog*", "LICENSE", "README*")
예제 #27
0
def install():
    scons.install("install WILL_DEAL_WITH_XDG_MYSELF=1 DESTDIR=%s" % get.installDIR())

    inarytools.dodir("/usr/share/applications")
    inarytools.dosym("/usr/share/libffado/icons/hi64-apps-ffado.png", "/usr/share/pixmaps/ffado-mixer.png")

    inarytools.domove("/usr/man/", "/usr/share")

    inarytools.dodoc("AUTHORS", "ChangeLog", "LICENSE*", "TODO", "README")
예제 #28
0
def install():
    autotools.install()

    #verMINOR = getMinorVersion()
    inarytools.dosym("libx264.so.%s" % (verMAJOR), "/usr/lib/libx264.so.%s" % (verMINOR))

    # No static libs
    if shelltools.isFile("%s/%s" % (get.installDIR(), staticlibfile)):
        inarytools.remove(staticlibfile)
예제 #29
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    try:
        inarytools.dosym("libxfconf-0.so.3.0.0", "/usr/lib/libxfconf-0.so.3")
        inarytools.dosym("libxfconf-0.so.3.0.0", "/usr/lib/libxfconf-0.so")
    except Exception:
        pass

    inarytools.dodoc('AUTHORS', 'ChangeLog', 'NEWS', 'TODO', 'COPYING')
예제 #30
0
def install():
    shelltools.system(
        "./bk-7.3.2-x86_64-glibc27-linux.bin {}/opt/bitkeeper".format(
            get.installDIR()))
    inarytools.dodir("/usr/bin")
    inarytools.dosym("/opt/bitkeeper/bk", "/usr/bin/bk")
    inarytools.domove("/opt/bitkeeper/man", "/usr/share/")
    inarytools.domove("/usr/share/man/man1/patch.1",
                      "/usr/share/man/man1/bk_patch.1")