Exemplo n.º 1
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # install python bindings
    shelltools.cd("swig/python")
    pythonmodules.install()
    shelltools.cd("../..")

    perlmodules.removePodfiles()

    # fix rpath
    shelltools.system(
        "chrpath -d %s/usr/lib/perl5/x86_64-linux-thread-multi/auto/Geo/GDAL/Const/Const.so"
        % get.installDIR())
    shelltools.system(
        "chrpath -d %s/usr/lib/perl5/x86_64-linux-thread-multi/auto/Geo/GDAL/GDAL.so"
        % get.installDIR())
    shelltools.system(
        "chrpath -d %s/usr/lib/perl5/x86_64-linux-thread-multi/auto/Geo/GNM/GNM.so"
        % get.installDIR())
    shelltools.system(
        "chrpath -d %s/usr/lib/perl5/x86_64-linux-thread-multi/auto/Geo/OSR/OSR.so"
        % get.installDIR())
    shelltools.system(
        "chrpath -d %s/usr/lib/perl5/x86_64-linux-thread-multi/auto/Geo/OGR/OGR.so"
        % get.installDIR())

    pisitools.dodoc("LICENSE*")
Exemplo n.º 2
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO", "COPYING")

    # remove unneeded files
    perlmodules.removePodfiles()
Exemplo n.º 3
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc('AUTHORS', 'ChangeLog', 'NEWS', 'README', 'TODO', 'COPYING')

    # remove unneeded files
    perlmodules.removePodfiles()
Exemplo n.º 4
0
def install():
    autotools.rawInstall("DESTDIR=%s includedir=/usr/include" %
                         get.installDIR())

    # remove unnecessary files
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 5
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

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

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

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

    # Docs
    pisitools.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()
    pisitools.dodoc("Changes*", "Artistic", "Copying", "README", "AUTHORS")
Exemplo n.º 6
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    perlmodules.removePodfiles()

    shelltools.copy("%s/usr/share/%s/udev*" % (get.installDIR(), get.srcNAME()), "%s/etc/udev/rules.d/" % get.installDIR())

    pisitools.dodoc("ChangeLog", "README", "doc/README*", "doc/TODO", "NEWS", "AUTHORS")
Exemplo n.º 7
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

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

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

    perlmodules.removePodfiles()
Exemplo n.º 8
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc('AUTHORS', 'ChangeLog', 'NEWS', 'README', 'TODO',
                    'COPYING')

    # remove unneeded files
    perlmodules.removePodfiles()
Exemplo n.º 9
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("LICENSE", "README*")

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

    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 10
0
def install():
    # PREFIX for perl script, DESTDIR for c_stuff
    autotools.rawInstall("DESTDIR=%s PREFIX=/usr" % get.installDIR())

    perlmodules.removePodfiles()

    pisitools.insinto("/usr/share/pixmaps", "icons/frozen-bubble-icon-48x48.png", "frozen-bubble.png")

    pisitools.dodoc("AUTHORS", "COPYING", "README", "NEWS", "TODO", "TIPS")
Exemplo n.º 11
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    #remove egg
#    pisitools.removeDir("/usr/lib/python2.7/site-packages/GDAL-*")

    pisitools.domove("/usr/man/man3/*", "/usr/share/man/man3")
    pisitools.removeDir("/usr/man/")

    perlmodules.removePodfiles()
Exemplo n.º 12
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    autotools.rawInstall("DESTDIR=%s -C PerlMagick" % get.installDIR())
    for d in ("demo/", "Changelog", "README.txt"):
        pisitools.insinto("/usr/share/doc/PerlMagick", "PerlMagick/%s" % d)

    pisitools.remove("/usr/lib/*.la")
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 13
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    #remove egg
    #    pisitools.removeDir("/usr/lib/python2.7/site-packages/GDAL-*")

    pisitools.domove("/usr/man/man3/*", "/usr/share/man/man3")
    pisitools.removeDir("/usr/man/")

    perlmodules.removePodfiles()
Exemplo n.º 14
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodoc("AUTHORS.txt", "ChangeLog", "LICENSE", "NEWS.txt")

    shelltools.chmod("%s/usr/lib/perl5/vendor_perl/%s/%s-linux-thread-multi/auto/Image/Magick/Magick.so" % (get.installDIR(), get.curPERL(), get.HOST().split("-")[0]))

    pisitools.remove("/usr/lib/*.la")
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 15
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

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

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

    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 16
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

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

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

    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 17
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    autotools.rawInstall("DESTDIR=%s -C PerlMagick" % get.installDIR())
    for d in ("demo/", "Changelog", "README.txt"):
        pisitools.insinto("/usr/share/doc/PerlMagick", "PerlMagick/%s" % d)

    pisitools.remove("/usr/lib/*.la")
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 18
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

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

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

    perlmodules.removePodfiles()
Exemplo n.º 19
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    perlmodules.removePodfiles()

    shelltools.copy(
        "%s/usr/share/%s/udev*" % (get.installDIR(), get.srcNAME()),
        "%s/etc/udev/rules.d/" % get.installDIR())

    pisitools.dodoc("ChangeLog", "README", "doc/README*", "doc/TODO", "NEWS",
                    "AUTHORS")
Exemplo n.º 20
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodoc("AUTHORS.txt", "ChangeLog", "LICENSE", "NEWS.txt")

    shelltools.chmod(
        "%s/usr/lib/perl5/vendor_perl/%s/%s-linux-thread-multi/auto/Image/Magick/Magick.so"
        % (get.installDIR(), get.curPERL(), get.HOST().split("-")[0]))

    pisitools.remove("/usr/lib/*.la")
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 21
0
def install():
    # PREFIX for perl script, DESTDIR for c_stuff
    autotools.rawInstall("DESTDIR=%s PREFIX=/usr" % get.installDIR())

    perlmodules.removePodfiles()

    pisitools.insinto("/usr/share/pixmaps",
                      "icons/frozen-bubble-icon-48x48.png",
                      "frozen-bubble.png")

    pisitools.dodoc("AUTHORS", "COPYING", "README", "NEWS", "TODO", "TIPS")
Exemplo n.º 22
0
def install():
    autotools.rawInstall()

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

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

    # remove .pod and .packlist files
    perlmodules.removePodfiles()
    perlmodules.removePacklist()
Exemplo n.º 23
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

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

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

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

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

    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 24
0
def install():
    autotools.rawInstall("DESTDIR=%s pkgconfigdir=/usr/lib/%s/pkgconfig" %
                         (get.installDIR(), get.srcNAME()))

    pisitools.dodoc("LICENSE", "README*")

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

    # to prevent conflict, remove binaries, we can get them from latest ImageMagick
    pisitools.removeDir("/usr/bin")
    # to prevent conflict, remove man files, we can get them from latest ImageMagick
    pisitools.removeDir("/usr/share/man")
    # to prevent conflict, remove conflicting perl files
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
    pisitools.removeDir("/usr/lib/perl5")
Exemplo n.º 25
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

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

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

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

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

    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 26
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
    pisitools.domove("/usr/lib/svn-python/svn",
                     "/usr/lib/%s/site-packages" % get.curPYTHON())
    pisitools.domove("/usr/lib/svn-python/libsvn",
                     "/usr/lib/%s/site-packages" % get.curPYTHON())
    pisitools.removeDir("/usr/lib/svn-python")

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

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

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

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

    pisitools.dodoc("README")

    # remove unnecessary files i.e. perllocal.pod, .packlist
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 27
0
def install():
    autotools.rawInstall("install-doc")

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

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

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

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

    # remove .pod and .packlist files
    perlmodules.removePodfiles()
    perlmodules.removePacklist()
Exemplo n.º 28
0
def install():
    autotools.rawInstall("install-doc")

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

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

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

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

    # remove .pod and .packlist files
    perlmodules.removePodfiles()
    perlmodules.removePacklist()
Exemplo n.º 29
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
    pisitools.domove("/usr/lib/svn-python/svn", "/usr/lib/%s/site-packages" % get.curPYTHON())
    pisitools.domove("/usr/lib/svn-python/libsvn", "/usr/lib/%s/site-packages" % get.curPYTHON())
    pisitools.removeDir("/usr/lib/svn-python")

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

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

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

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

    pisitools.dodoc("README")

    # remove unnecessary files i.e. perllocal.pod, .packlist
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 30
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

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

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

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

    # Docs
    pisitools.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()
    pisitools.dodoc("Changes*", "Artistic", "Copying", "README", "AUTHORS")
Exemplo n.º 31
0
def install():
    autotools.rawInstall("install-doc")

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

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

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

    # Remove unused perl directory
    pisitools.removeDir("/usr/lib/perl5/site_perl/%s/%s-linux-thread-multi" % (get.curPERL(), get.ARCH())) 

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

    # remove .pod file
    perlmodules.removePodfiles()
Exemplo n.º 32
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    perlmodules.removePodfiles()
Exemplo n.º 33
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    #remove egg
    pisitools.removeDir("/usr/lib/python2.7/site-packages/GDAL-*")

    perlmodules.removePodfiles()
Exemplo n.º 34
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.remove("/usr/lib/irssi/modules/libirc_proxy.a")
    perlmodules.removePodfiles()
Exemplo n.º 35
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.remove("/usr/lib/irssi/modules/libirc_proxy.a")
    perlmodules.removePodfiles()
Exemplo n.º 36
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    #remove egg
    pisitools.removeDir("/usr/lib/python2.7/site-packages/GDAL-*")

    perlmodules.removePodfiles()
Exemplo n.º 37
0
def install():
    pisitools.insinto("/usr/lib/perl5/site_perl/5.20.0/", "lib/*")
    
    perlmodules.removePodfiles()
Exemplo n.º 38
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    perlmodules.removePodfiles()
Exemplo n.º 39
0
def install():
    autotools.rawInstall("DESTDIR=%s includedir=/usr/include" % get.installDIR())

    # remove unnecessary files
    perlmodules.removePacklist()
    perlmodules.removePodfiles()
Exemplo n.º 40
0
def install():
    perlmodules.install()
    # conflict: perl has a binary with the same name
    pisitools.remove("/usr/bin/instmodsh")
    perlmodules.removePodfiles()
Exemplo n.º 41
0
def install():
    pisitools.insinto("/usr/lib/perl5/site_perl/5.20.0/", "lib/*")

    perlmodules.removePodfiles()