Example #1
0
def install():
    autotools.rawInstall("DESTDIR=%s includedir=/usr/include" %
                         get.installDIR())

    # remove unnecessary files
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Example #2
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    
    inarytools.dodoc('AUTHORS', 'ChangeLog', 'NEWS', 'README', 'TODO', 'COPYING')

    # remove unneeded files
    perlmodules.removePodfiles()
Example #3
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")
Example #4
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    autotools.rawInstall("DESTDIR=%s -C PerlMagick" % get.installDIR())
    for d in ("demo/", "Changelog", "README.txt"):
        inarytools.insinto("/usr/share/doc/PerlMagick", "PerlMagick/%s" % d)

    inarytools.remove("/usr/lib/*.la")
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Example #5
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    inarytools.dodoc("AUTHORS.txt", "ChangeLog", "LICENSE", "NEWS.txt")

    inarytools.remove("/usr/lib/*.la")

    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Example #6
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    inarytools.dosym("../icons/hicolor/48x48/apps/pidgin.png",
                     "/usr/share/pixmaps/pidgin.png")

    inarytools.dodoc("AUTHORS", "COPYING", "HACKING", "NEWS", "README",
                     "ChangeLog")

    perlmodules.removePodfiles()
Example #7
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    shelltools.cd("python")
    pythonmodules.install('--skip-build --basedir=..', pyVer="2")
    shelltools.cd("..")

    inarytools.insinto("/etc/snmp/", "EXAMPLE.conf", "snmpd.conf.example")

    inarytools.dodir("/var/lib/net-snmp")
    inarytools.dodir("/etc/snmp")

    inarytools.dodoc("AGENT.txt", "ChangeLog", "FAQ", "NEWS", "PORTING", "README", "TODO")

    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Example #8
0
def install():
    # install svn
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # install swig-py
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-swig-py")

    # install swig-pl
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-swig-pl")

    # install javahl
    #autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-javahl")

    # Move py/c'into proper dir
    inarytools.domove("/usr/lib/svn-python/svn",
                      "/usr/lib/%s/site-packages" % get.curPYTHON())
    inarytools.domove("/usr/lib/svn-python/libsvn",
                      "/usr/lib/%s/site-packages" % get.curPYTHON())
    inarytools.removeDir("/usr/lib/svn-python")

    # some helper tools
    inarytools.insinto("/usr/bin", "tools/backup/hot-backup.py",
                       "svn-hot-backup")
    # FIXME: these tools are replaced by new ones
    # inarytools.insinto("/usr/bin", "contrib/client-side/svn_load_dirs.pl", "svn-load-dirs")
    # inarytools.insinto("/usr/bin", "contrib/client-side/svnmerge.py", "svnmerge")
    # shelltools.chmod("%s/usr/bin/svnmerge" % get.installDIR(), 0755)

    # Install upstream bash completion script
    inarytools.insinto("/etc/bash_completion.d",
                       "tools/client-side/bash_completion", "subversion")

    # Documentation and etc.
    #inarytools.insinto("/usr/share/doc/%s" % get.srcNAME(), "contrib")
    inarytools.insinto("/usr/share/doc/%s" % get.srcNAME(), "tools/xslt")
    inarytools.insinto("/var/www/localhost/htdocs", "tools/xslt/*")

    # Create virtual repository root
    inarytools.dodir("/var/svn")

    inarytools.dodoc("README")

    # remove unnecessary files i.e. perllocal.pod, .packlist
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Example #9
0
def install():
    autotools.rawInstall("DESTDIR={} install-html all".format(
        get.installDIR()))

    # Install bash completion
    inarytools.insinto("/etc/bash_completion.d",
                       "contrib/completion/git-completion.bash", "git")
    shelltools.chmod("%s/etc/bash_completion.d/git" % get.installDIR(), 0o644)

    # for git-daemon
    inarytools.dodir("/pub/scm")

    # emacs support
    # autotools.install("-C contrib")
    inarytools.insinto("/usr/share/doc/emacs-git", "contrib/emacs/README")
    inarytools.insinto("/usr/share/git/", "contrib/*")

    # Some docs
    inarytools.dodoc("README.md", "COPYING", "Documentation/SubmittingPatches")

    # remove .pod and .packlist files
    perlmodules.removePodfiles()
    perlmodules.removePacklist()