Exemplo n.º 1
0
def install():
    scons.install("PREFIX='%s/usr' swig_install install" % get.installDIR())

    pisitools.domove("/usr/share/blender/scripts/_*.so", "/usr/lib/%s/site-packages/" % get.curPYTHON())
    pisitools.insinto("/usr/share/blender/scripts", "blender-scripts/*.py")

    pisitools.dodoc("CODING", "LICENSE")
Exemplo n.º 2
0
def install():
    scons.install()

    pisitools.dohtml("*.html", "Documentation/userdocs/'*.html'", "Documentation/*.html")
    pisitools.insinto("/usr/share/doc/%s/Lobby" % get.srcTAG(), "Documentation/Lobby")
    pisitools.insinto("/usr/share/doc/%s/UML" % get.srcTAG(), "Documentation/UML/*")
    pisitools.dodoc("Documentation/*.txt", "Documentation/*.odt")
Exemplo n.º 3
0
def install():
    # Required for scons to "see" intermediate install location
    pisitools.dodir(get.installDIR())

    scons.install()

    for s in ("16", "22", "32", "48"):
        pisitools.dodir("/usr/share/icons/hicolor/%sx%s/apps" % (s, s))
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" % (s, s),
                          "gtk2_ardour/icons/ardour_icon_%spx.png" % s,
                          "ardour2.png")
        pisitools.insinto(
            "/usr/share/icons/hicolor/%sx%s/mimetypes" % (s, s),
            "gtk2_ardour/icons/application-x-ardour_%spx.png" % s,
            "application-x-ardour2.png")

    pisitools.insinto("/usr/share/applications",
                      "gtk2_ardour/ardour2.desktop.in", "ardour2.desktop")
    pisitools.insinto("/usr/share/mime/packages", "gtk2_ardour/ardour2.xml")

    pisitools.doman("ardour.1")
    #install translated man pages
    for man in shelltools.ls("ardour.1.*"):
        lang = man.split(".")[2]
        pisitools.dodir("/usr/share/man/%s/man1" % lang)
        pisitools.insinto("/usr/share/man/%s/man1" % lang, man)
Exemplo n.º 4
0
def install():
    scons.install("prefix='/usr' destdir='%s' install" % get.installDIR())

    pisitools.removeDir("/usr/man")
    pisitools.doman("ffmpeg2theora.1")

    pisitools.dodoc("AUTHORS", "COPYING", "TODO", "ChangeLog", "README", "subtitles.txt")
Exemplo n.º 5
0
def install():
    scons.install("install DESTDIR=%s" % get.installDIR())

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

    pisitools.dodoc("AUTHORS", "ChangeLog", "LICENSE*", "TODO", "README")
Exemplo n.º 6
0
def install():
    scons.install("prefix=%s/usr mode=release-symbols softphone-install" % get.installDIR())
    pisitools.dosed("%s/usr/bin/wengophone" % get.installDIR(), get.installDIR(), "")
    shelltools.chmod("%s/usr/bin/wengophone" % get.installDIR())
    pisitools.insinto("/usr/share/pixmaps", "wengophone.png")
    pisitools.insinto("/usr/share/applications", "wengophone.desktop")
    pisitools.dodoc("COPYING", "TODO", "README*")
Exemplo n.º 7
0
def install():
    shelltools.export("LD_LIBRARY_PATH", "%s/%s/lib" % (get.installDIR(), get.defaultprefixDIR()))
    scons.install("install_prefix=/%s sysconfdir=/%s/aqsis install" % (get.defaultprefixDIR(), get.confDIR()), get.installDIR(), "destdir")

    pisitools.dosym("/usr/lib/aqsis/plugins/libjpg2tif.so", "/usr/lib/libjpg2tif.so.1")
    pisitools.dosym("/usr/lib/aqsis/plugins/libppm2tif.so", "/usr/lib/libppm2tif.so.1")

    pisitools.dodoc("AUTHORS", "COPYING", "README", "ReleaseNotes")
Exemplo n.º 8
0
def install():
    shelltools.export("QTDIR", get.qtDIR())
    scons.install(prefix="/usr")#" install" % get.installDIR())

    pisitools.domove("/usr/share/pixmaps/h2-icon.svg", "/usr/share/icons/hicolor/scalable/apps")
    pisitools.removeDir("/usr/share/pixmaps")

    pisitools.dodoc("AUTHORS", "ChangeLog", "README.txt", "COPYING")
Exemplo n.º 9
0
def install():
    scons.install("PREFIX='%s/usr' swig_install install" % get.installDIR())

    pisitools.domove("/usr/share/blender/scripts/_*.so",
                     "/usr/lib/%s/site-packages/" % get.curPYTHON())
    pisitools.insinto("/usr/share/blender/scripts", "blender-scripts/*.py")

    pisitools.dodoc("CODING", "LICENSE")
Exemplo n.º 10
0
def install():
    scons.install("prefix='/usr' destdir='%s' install" % get.installDIR())

    pisitools.removeDir("/usr/man")
    pisitools.doman("ffmpeg2theora.1")

    pisitools.dodoc("AUTHORS", "COPYING", "TODO", "ChangeLog", "README",
                    "subtitles.txt")
Exemplo n.º 11
0
def install():
    scons.install()

    pisitools.dosym("/usr/share/linuxdcpp/pixmaps/linuxdcpp.png",
                    "/usr/share/pixmaps/linuxdcpp.png")

    pisitools.dodoc("Changelog.txt", "Credits.txt", "License.txt",
                    "Readme.txt")
Exemplo n.º 12
0
def install():
    scons.install("prefix=%s/usr mode=release-symbols softphone-install" %
                  get.installDIR())
    pisitools.dosed("%s/usr/bin/wengophone" % get.installDIR(),
                    get.installDIR(), "")
    shelltools.chmod("%s/usr/bin/wengophone" % get.installDIR())
    pisitools.insinto("/usr/share/pixmaps", "wengophone.png")
    pisitools.insinto("/usr/share/applications", "wengophone.desktop")
    pisitools.dodoc("COPYING", "TODO", "README*")
Exemplo n.º 13
0
def install():
    shelltools.export("QTDIR", get.qtDIR())
    scons.install(prefix="/usr")

    pisitools.domove("/usr/share/pixmaps/h2-icon.svg",
                     "/usr/share/icons/hicolor/scalable/apps")
    pisitools.removeDir("/usr/share/pixmaps")

    pisitools.dodoc("AUTHORS", "ChangeLog", "README.txt", "COPYING")
Exemplo n.º 14
0
def install():
    scons.install("install WILL_DEAL_WITH_XDG_MYSELF=1 DESTDIR=%s" % get.installDIR())

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

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

    pisitools.dodoc("AUTHORS", "ChangeLog", "LICENSE*", "TODO", "README")
Exemplo n.º 15
0
def install():
    scons.install()

    pisitools.dohtml("*.html", "Documentation/userdocs/'*.html'",
                     "Documentation/*.html")
    pisitools.insinto("/usr/share/doc/%s/Lobby" % get.srcTAG(),
                      "Documentation/Lobby")
    pisitools.insinto("/usr/share/doc/%s/UML" % get.srcTAG(),
                      "Documentation/UML/*")
    pisitools.dodoc("Documentation/*.txt", "Documentation/*.odt")
Exemplo n.º 16
0
def install():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.install("install prefix=/usr \
                   install_root=%s/usr \
                   qtdir=%s \
                   djconsole=1 \
                   shoutcast=1 \
                   optimize=1" % (get.installDIR(), get.qtDIR()))

    pisitools.dodoc("README*", "COPYING", "Mixxx-Manual.pdf")
Exemplo n.º 17
0
def install():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.install("install prefix=/usr \
                   install_root=%s/usr \
                   qtdir=%s \
                   djconsole=1 \
                   shoutcast=1 \
                   optimize=1" % (get.installDIR(), get.qtDIR()))

    pisitools.dodoc("README*", "COPYING", "Mixxx-Manual.pdf")
Exemplo n.º 18
0
def install():
    insparam = 'prefix="/usr" destdir="%s" libdir="/lib" install' % get.installDIR()
    scons.install(insparam)

    #wtf?
    pisitools.removeDir("/usr/etc")
    pisitools.dodir("/etc")
    pisitools.insinto("/etc", "src/gram.yafray")

    pisitools.dodoc("AUTHORS")
    pisitools.dohtml("doc/doc.html")
Exemplo n.º 19
0
def install():
    insparam = 'prefix="/usr" destdir="%s" libdir="/lib" install' % get.installDIR()
    scons.install(insparam)

    #wtf?
    pisitools.removeDir("/usr/etc")
    pisitools.dodir("/etc")
    pisitools.insinto("/etc", "src/gram.yafray")

    pisitools.dodoc("AUTHORS")
    pisitools.dohtml("doc/doc.html")
Exemplo n.º 20
0
def install():
    scons.install("%s/opt/acetoneiso/bin" % get.installDIR())
    fileList = [('AcetoneISO-6.7/acetone.png', '/usr/share/pixmaps/'),
                ('AcetoneISO-6.7/aiso.png', '/usr/share/pixmaps/'),
                ('AcetoneISO-6.7/playiso-unmount.sh', '/opt/acetoneiso'),
                ('AcetoneISO-6.7/turbo.sh', '/opt/acetoneiso'),
                ('AcetoneISO-6.7/acetoneiso-mount.desktop',
                 '/usr/kde/3.5/share/apps/konqueror/servicemenus'),
                ('AcetoneISO-6.7/acetoneiso-umount.desktop',
                 '/usr/kde/3.5/share/apps/konqueror/servicemenus'),
                ('AcetoneISO-6.7/xbiso', '/opt/acetoneiso/bin'),
                ('AcetoneISO-6.7/AcetoneISO.kmdr', '/opt/acetoneiso')]
    for file in fileList:
        pisitools.insinto("%s" % file[1], "%s" % file[0])
    pisitools.dobin('AcetoneISO-6.7/acetoneiso')
Exemplo n.º 21
0
def install():
    scons.install("install \
                  --full --sharedclient \
                  --prefix=%s/usr" % get.installDIR())

    # remove static library
    pisitools.remove("/usr/lib64/libmongoclient.a")

    # needed directory
    pisitools.dodir("/var/lib/mongodb")
    pisitools.dodir("/var/log/mongodb")
    pisitools.dodir("/var/run/mongodb")

    # add man and documents
    pisitools.doman("debian/mongo*.1")
    pisitools.dodoc("README", "docs/index.md", "docs/building.md")
Exemplo n.º 22
0
def install():
    scons.install("install \
                  --full --sharedclient \
                  --prefix=%s/usr" % get.installDIR())

    # remove static library
    pisitools.remove("/usr/lib64/libmongoclient.a")

    # needed directory
    pisitools.dodir("/var/lib/mongodb")
    pisitools.dodir("/var/log/mongodb")
    pisitools.dodir("/var/run/mongodb")

    # add man and documents
    pisitools.doman("debian/mongo*.1")
    pisitools.dodoc("README","docs/index.md","docs/building.md")
Exemplo n.º 23
0
def install():
    shelltools.system("sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1")
    scons.install()

    # We're using conf.d instead of sysconfig
    pisitools.dosed("gpsd.hotplug.wrapper", "sysconfig\/", "conf.d/")

    # Install UDEV files
    pisitools.insinto("/lib/udev/rules.d", "gpsd.rules", "99-gpsd.rules")
    pisitools.dobin("gpsd.hotplug", "/lib/udev")
    pisitools.dobin("gpsd.hotplug.wrapper", "/lib/udev")

    # Fix permissions
    shelltools.chmod("%s/usr/lib/%s/site-packages/gps/gps.py" % (get.installDIR(), get.curPYTHON()))

    pisitools.dodoc("README", "TODO", "AUTHORS", "COPYING")
Exemplo n.º 24
0
def install():
    shelltools.system(
        "sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1"
    )
    scons.install()

    # We're using conf.d instead of sysconfig
    pisitools.dosed("gpsd.hotplug.wrapper", "sysconfig\/", "conf.d/")

    # Install UDEV files
    pisitools.insinto("/lib/udev/rules.d", "gpsd.rules", "99-gpsd.rules")
    pisitools.dobin("gpsd.hotplug", "/lib/udev")
    pisitools.dobin("gpsd.hotplug.wrapper", "/lib/udev")

    # Fix permissions
    shelltools.chmod("%s/usr/lib/%s/site-packages/gps/gps.py" %
                     (get.installDIR(), get.curPYTHON()))

    pisitools.dodoc("README", "TODO", "AUTHORS", "COPYING")
Exemplo n.º 25
0
def install():
    # Required for scons to "see" intermediate install location
    pisitools.dodir(get.installDIR())

    scons.install()

    for s in ("16", "22", "32", "48"):
        pisitools.dodir("/usr/share/icons/hicolor/%sx%s/apps" % (s, s))
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" % (s, s), "gtk2_ardour/icons/ardour_icon_%spx.png" % s, "ardour2.png")
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/mimetypes" % (s, s), "gtk2_ardour/icons/application-x-ardour_%spx.png" % s, "application-x-ardour2.png")

    pisitools.insinto("/usr/share/applications", "gtk2_ardour/ardour2.desktop.in", "ardour2.desktop")
    pisitools.insinto("/usr/share/mime/packages", "gtk2_ardour/ardour2.xml")

    pisitools.doman("ardour.1")
    #install translated man pages
    for man in shelltools.ls("ardour.1.*"):
        lang = man.split(".")[2]
        pisitools.dodir("/usr/share/man/%s/man1" % lang)
        pisitools.insinto("/usr/share/man/%s/man1" % lang, man)
Exemplo n.º 26
0
def install():
    scons.install()
    pisitools.dodoc("CREDITS", "LICENCE")
Exemplo n.º 27
0
def install():
    scons.install()
    pisitools.insinto("%s/share/icons/hicolor/32x32/apps" % get.kdeDIR(), "src/hi32-app-kstreamripper.png", "kstreamripper.png")
    pisitools.insinto("%s/share/icons/hicolor/16x16/apps" % get.kdeDIR(), "src/hi16-app-kstreamripper.png", "kstreamripper.png")
Exemplo n.º 28
0
def install():
    scons.install(argument="DESTDIR")

    pisitools.dodoc("ChangeLog", "AUTHORS", "INSTALL*", "NEWS", "README*")
Exemplo n.º 29
0
def install():
    scons.install()
Exemplo n.º 30
0
def install():
    shelltools.export("DESTDIR", get.installDIR())
    scons.install("prefix=%s install" % get.kdeDIR())
    pisitools.removeDir("%s/share/applnk" % get.kdeDIR())
Exemplo n.º 31
0
def install():
    scons.install()
Exemplo n.º 32
0
def install():
    scons.install("-j1 install-shared install-python install-dev \
	           --lib-dir=/usr/lib \
	           --prefix=/usr \
	           --python-prefix=/usr/lib/python2.7/site-packages/ \
	           --install-sandbox=%s" % get.installDIR())
Exemplo n.º 33
0
def install():
    scons.install("install compiler=gnu install_prefix=%s/usr" %
                  get.installDIR())
Exemplo n.º 34
0
def install():
    # Required for scons to "see" intermediate install location
    pisitools.dodir(get.installDIR())

    scons.install()
Exemplo n.º 35
0
def install():
    scons.install("DESTDIR='%s' install" % get.installDIR())
    pisitools.dodoc("COPYING", "NEWS", "README", "todo")
Exemplo n.º 36
0
def install():
    scons.install()
    pisitools.dodoc("ChangeLog")
Exemplo n.º 37
0
def install():
    scons.install("install compiler=gnu install_prefix=%s/usr" % get.installDIR()) 
Exemplo n.º 38
0
def install():
    # Required for scons to "see" intermediate install location
    pisitools.dodir(get.installDIR())

    scons.install()
Exemplo n.º 39
0
def install():
    scons.install("install-all --prefix %s/usr --python-prefix %s/usr/lib/python2.7/site-packages/" % (get.installDIR(), get.installDIR()))

    pisitools.dodoc("AUTHORS", "CHANGES", "COPYING", "README")
Exemplo n.º 40
0
def install():
    scons.install()

    pisitools.dodoc("CHANGELOG", "README", "TODO", "KNOWN_BUGS", "doc/*")
Exemplo n.º 41
0
def install():
    scons.install("DESTDIR=%s install" % get.installDIR())

    pisitools.dodoc("README", "COPYING", "NEWS")
Exemplo n.º 42
0
def install():
    scons.install(argument="DESTDIR")

    pisitools.dodoc("README", "ChangeLog", "AUTHORS", "COPYING", "TODO",
                    "THANKS")
Exemplo n.º 43
0
def install():
    scons.install("install DESTDIR=%s/usr USE_GTK3=True" % get.installDIR())

    pisitools.dodoc("LICENSE.txt", "README.md")
Exemplo n.º 44
0
def install():
    shelltools.export("DESTDIR", get.installDIR())
    scons.install("prefix=%s install" % get.kdeDIR())
    pisitools.removeDir("%s/share/applnk" % get.kdeDIR())
Exemplo n.º 45
0
def install():
    scons.install("prefix=%s/usr install" % get.installDIR())
    pisitools.dodoc("AUTHORS", "README", "TRANSLATORS")
Exemplo n.º 46
0
def install():
    scons.install()
    pisitools.dodoc("ChangeLog")
Exemplo n.º 47
0
def install():
    scons.install('PREFIX="/usr" DESTDIR="%s" install' % get.installDIR())

    pisitools.dodoc("COPYING", "README")
Exemplo n.º 48
0
def install():
    scons.install()

    pisitools.dosym("/usr/share/linuxdcpp/pixmaps/linuxdcpp.png", "/usr/share/pixmaps/linuxdcpp.png")

    pisitools.dodoc("Changelog.txt", "Credits.txt", "License.txt", "Readme.txt")
Exemplo n.º 49
0
def install():
    scons.install("prefix=%s/usr install" % get.installDIR())

    pisitools.dodoc("changelog", "COPYING", "LICENSE", "README", "doc/*" )
Exemplo n.º 50
0
def install():
    scons.install("prefix=%s/usr install" % get.installDIR())
    pisitools.dodoc("AUTHORS", "README", "TRANSLATORS")
Exemplo n.º 51
0
def install():
    scons.install("prefix=%s/usr install" % get.installDIR())

    pisitools.dodoc("changelog", "COPYING", "LICENSE", "README", "doc/*")
Exemplo n.º 52
0
def install():
    insparam = 'PREFIX="/usr" DESTDIR="%s" install' % get.installDIR()
    scons.install(insparam)

    pisitools.dodoc("COPYING", "README")
Exemplo n.º 53
0
def install():
    insparam = 'prefix="/usr" destdir="%s" libdir="/lib" install' % get.installDIR()
    scons.install(insparam)

    pisitools.dodoc("AUTHORS")
    pisitools.dohtml("doc/doc.html")