コード例 #1
0
def install():
    for dirs in ("/etc/teamspeak", "/var/lib/teamspeak", "/var/log/teamspeak",
                 "/var/run/teamspeak"):
        pisitools.dodir(dirs)

    for _exe in ["server_linux", "sqlite.so"]:
        pisitools.doexe(_exe, teamspeak_dir)

    pisitools.insinto("%s/sql" % teamspeak_dir, "sqlite_sql/*.sql")
    pisitools.insinto("%s/http" % teamspeak_dir, "httpdocs/*.html")
    pisitools.insinto("%s/http/help" % teamspeak_dir, "httpdocs/help/*.html")
    pisitools.insinto("%s/tcpquerydocs" % teamspeak_dir, "tcpquerydocs/*.txt")

    shelltools.touch("%s/etc/teamspeak/bad_names" % get.installDIR())

    for files in [
            "httpdocs/gfx/*.jpg", "httpdocs/gfx/*.png", "httpdocs/gfx/*.gif"
    ]:
        pisitools.insinto("%s/http/gfx" % teamspeak_dir, files)

    pisitools.dohtml("manual.html")
    shelltools.copytree(
        "Manual",
        "%s/usr/share/doc/%s/html/Manual" % (get.installDIR(), get.srcTAG()))
    pisitools.dodoc("changelog.txt", "README")
コード例 #2
0
def install():
    pisitools.dobin("release/mumble")
    pisitools.dobin("release/mumble11x")
    pisitools.dobin("scripts/mumble-overlay")
    pisitools.dosbin("release/murmurd")

    pisitools.insinto("/usr/lib/mumble", "release/*.so*")
    pisitools.doexe("release/plugins/*.so", "/usr/lib/mumble")

    pisitools.insinto("/usr/share/applications", "scripts/mumble.desktop")
    pisitools.insinto("/usr/share/kde4/services", "scripts/mumble.protocol")
    pisitools.insinto("/usr/share/mumble/translations", "src/mumble/*.qm")
    pisitools.insinto("/usr/share/mumble11x/translations",
                      "src/mumble11x/*.qm")

    for size in ("16x16", "32x32", "48x48", "64x64"):
        pisitools.insinto("/usr/share/icons/hicolor/%s/apps" % size,
                          "src/mumble11x/resources/mumble.%s.png" % size,
                          "mumble.png")
    pisitools.insinto("/usr/share/icons/hicolor/scalable/apps",
                      "icons/mumble.svg")

    pisitools.insinto("/etc/murmur", "scripts/murmur.ini")
    pisitools.dosym("murmur/murmur.ini", "/etc/mumble-server.ini")

    pisitools.dodir("/var/lib/mumble-server")
    pisitools.dodir("/var/log/mumble-server")
    pisitools.dodir("/var/run/mumble-server")

    pisitools.doman("man/*")
    pisitools.dodoc("CHANGES", "LICENSE", "README*", "scripts/weblist*")
コード例 #3
0
ファイル: actions.py プロジェクト: pars-linux/pardus-1.0
def install():
    autotools.install("prefix=%s/usr \
                       BINDIR=%s/usr/bin \
                       LIBDIR=%s/usr/lib \
                       CONFDIR=%s/usr/share/mplayer \
                       DATADIR=%s/usr/share/mplayer \
                       MANDIR=%s/usr/share/man" %
                      (get.installDIR(), get.installDIR(), get.installDIR(),
                       get.installDIR(), get.installDIR(), get.installDIR()))

    pisitools.dodir("/usr/share/mplayer/Skin")
    shelltools.copytree("default_skin",
                        "%s/usr/share/mplayer/Skin/default" % get.installDIR())

    # Add Turkish raw fonts (though not used as default)
    pisitools.dodir("/usr/share/mplayer/fonts")
    shelltools.copytree(
        "default_fonts",
        "%s/usr/share/mplayer/fonts/turkish-fonts" % get.installDIR())
    pisitools.removeDir("/usr/share/mplayer/font")
    pisitools.dosym("/usr/share/mplayer/fonts/turkish-fonts",
                    "/usr/share/mplayer/font")

    pisitools.insinto("/etc", "etc/example.conf", "mplayer.conf")
    pisitools.insinto("/usr/share/mplayer", "etc/codecs.conf")
    pisitools.insinto("/usr/share/mplayer", "etc/input.conf")
    pisitools.insinto("/usr/share/mplayer", "etc/menu.conf")

    pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf")
    pisitools.dodoc("AUTHORS", "ChangeLog", "README")
    pisitools.insinto("/usr/share/doc/%s/" % get.srcTAG(), "TOOLS")

    # midentify script to /usr/bin for emovix, we may also use it
    pisitools.doexe("TOOLS/midentify", "/usr/bin")
コード例 #4
0
ファイル: actions.py プロジェクト: alick01/pisilife-2
def install():
    pisitools.dodir("/opt/SynfigStudio")
    pisitools.doexe("SynfigStudio-1.5.1-2021.10.21-linux64-2cb6c.appimage",
                    "/opt/SynfigStudio")
    pisitools.dosym(
        "/opt/SynfigStudio/SynfigStudio-1.5.1-2021.10.21-linux64-2cb6c.appimage",
        "/usr/bin/SynfigStudio")
コード例 #5
0
ファイル: actions.py プロジェクト: rajesh-b/PisiLinux
def install():
    pisitools.dobin("release/mumble")
    pisitools.dobin("release/mumble11x")
    pisitools.dobin("scripts/mumble-overlay")
    pisitools.dosbin("release/murmurd")

    pisitools.insinto("/usr/lib/mumble", "release/*.so*")
    pisitools.doexe("release/plugins/*.so", "/usr/lib/mumble")

    pisitools.insinto("/usr/share/applications", "scripts/mumble.desktop")
    pisitools.insinto("/usr/share/kde4/services", "scripts/mumble.protocol")
    pisitools.insinto("/usr/share/mumble/translations", "src/mumble/*.qm")
    pisitools.insinto("/usr/share/mumble11x/translations", "src/mumble11x/*.qm")

    for size in ("16x16", "32x32", "48x48", "64x64"):
        pisitools.insinto(
            "/usr/share/icons/hicolor/%s/apps" % size, "src/mumble11x/resources/mumble.%s.png" % size, "mumble.png"
        )
    pisitools.insinto("/usr/share/icons/hicolor/scalable/apps", "icons/mumble.svg")

    pisitools.insinto("/etc/murmur", "scripts/murmur.ini")
    pisitools.dosym("murmur/murmur.ini", "/etc/mumble-server.ini")

    pisitools.dodir("/var/lib/mumble-server")
    pisitools.dodir("/var/log/mumble-server")
    pisitools.dodir("/run/mumble-server")

    pisitools.doman("man/*")
    pisitools.dodoc("CHANGES", "LICENSE", "README*", "scripts/weblist*")
コード例 #6
0
ファイル: actions.py プロジェクト: alick01/pisilife-2
def install():
    pisitools.dodir("/opt/FreeCAD")
    pisitools.doexe("FreeCAD_0.19.3-Linux-Conda_glibc2.12-x86_64.AppImage",
                    "/opt/FreeCAD")
    pisitools.dosym(
        "/opt/FreeCAD/FreeCAD_0.19.3-Linux-Conda_glibc2.12-x86_64.AppImage",
        "/usr/bin/FreeCAD")
コード例 #7
0
def install():
    pisitools.dodir("/opt/RealPlayer")
    shelltools.system("rpm2targz RealPlayer-10.0.8.805-20060718.i586.rpm")
    shelltools.system("tar -zxvf RealPlayer-10.0.8.805-20060718.i586.tar.gz")
    shelltools.cd("usr/local/RealPlayer")
    pisitools.insinto("/usr/kde/3.5/share/icons/hicolor/16x16/apps",
                      "share/icons/realplay_16x16.png", "realplay.png")
    pisitools.insinto("/usr/kde/3.5/share/icons/hicolor/32x32/apps",
                      "share/icons/realplay_32x32.png", "realplay.png")
    pisitools.insinto("/usr/kde/3.5/share/icons/hicolor/48x48/apps",
                      "share/icons/realplay_48x48.png", "realplay.png")
    pisitools.insinto("/usr/share/applications", "share/realplay.desktop")
    pisitools.insinto("/opt/RealPlayer", "LICENSE")
    pisitools.insinto("/opt/RealPlayer", "README")
    pisitools.insinto("/opt/RealPlayer", "postinst")
    pisitools.insinto("/opt/RealPlayer", "plugins")
    pisitools.insinto("/opt/RealPlayer", "common")
    pisitools.insinto("/opt/RealPlayer", "codecs")
    pisitools.insinto("/opt/RealPlayer", "mozilla")
    pisitools.insinto("/opt/RealPlayer", "share")
    pisitools.insinto("/opt/RealPlayer", "lib")
    pisitools.doexe("realplay", "/opt/RealPlayer/")
    pisitools.doexe("realplay.bin", "/opt/RealPlayer/")
    pisitools.dosym("/opt/RealPlayer/realplay", "/usr/bin/realplay")

    shelltools.chmod("%s/opt/RealPlayer/realplay" % get.installDIR())
    shelltools.chmod("%s/opt/RealPlayer/realplay.bin" % get.installDIR())
コード例 #8
0
def install():
    pisitools.dobin("build/release-linux-i386/wop-engine.i386")
    pisitools.dobin("build/release-linux-i386/wop-smp.i386")
    pisitools.dobin("build/release-linux-i386/wopded.i386")

    pisitools.rename("/usr/bin/wop-engine.i386", "WoP")
    pisitools.rename("/usr/bin/wop-smp.i386", "WoP-smp")
    pisitools.rename("/usr/bin/wopded.i386", "WoP-server")

    pisitools.doexe("%s/baseq3/*.so" % builddir, "%s/baseq3" % datadir)
    pisitools.insinto("%s/baseq3/vm/" % datadir, "%s/baseq3/vm/*" % builddir)

    pisitools.doexe("%s/missionpack/*.so" % builddir,
                    "%s/missionpack" % datadir)
    pisitools.insinto("%s/missionpack/vm" % datadir,
                      "%s/missionpack/vm/*" % builddir)

    pisitools.insinto("%s/wop" % datadir,
                      "wop_patch_1_2/server-allgametypes.cfg")
    pisitools.insinto("%s/wop" % datadir,
                      "wop_patch_1_2/server-wop_padpack.cfg")
    pisitools.insinto("%s/wop" % datadir, "wop_patch_1_2/*.pk3")

    pisitools.dodoc("BUGS", "ChangeLog", "*.txt", "wop_patch_1_2/*.txt",
                    "NOTTODO", "TODO", "README")
コード例 #9
0
def install():
    autotools.install("prefix=%s/usr \
                       BINDIR=%s/usr/bin \
                       LIBDIR=%s/usr/lib \
                       CONFDIR=%s/usr/share/mplayer \
                       DATADIR=%s/usr/share/mplayer \
                       MANDIR=%s/usr/share/man" % (get.installDIR(),
                       get.installDIR(),
                       get.installDIR(),
                       get.installDIR(),
                       get.installDIR(),
                       get.installDIR()))

    pisitools.dodir("/usr/share/mplayer/Skin")
    shelltools.copytree("default_skin", "%s/usr/share/mplayer/Skin/default" % get.installDIR())

    # Add Turkish raw fonts (though not used as default)
    pisitools.dodir("/usr/share/mplayer/fonts")
    shelltools.copytree("default_fonts", "%s/usr/share/mplayer/fonts/turkish-fonts" % get.installDIR())
    pisitools.removeDir("/usr/share/mplayer/font")
    pisitools.dosym("/usr/share/mplayer/fonts/turkish-fonts", "/usr/share/mplayer/font")

    pisitools.insinto("/etc", "etc/example.conf", "mplayer.conf")
    pisitools.insinto("/usr/share/mplayer", "etc/codecs.conf")
    pisitools.insinto("/usr/share/mplayer", "etc/input.conf")
    pisitools.insinto("/usr/share/mplayer", "etc/menu.conf")

    pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf")
    pisitools.dodoc("AUTHORS", "ChangeLog", "README")
    pisitools.insinto("/usr/share/doc/%s/" % get.srcTAG(), "TOOLS")

    # midentify script to /usr/bin for emovix, we may also use it
    pisitools.doexe("TOOLS/midentify", "/usr/bin")
コード例 #10
0
ファイル: actions.py プロジェクト: alick01/pisilife-2
def install():
    pisitools.dodir("/opt/LibreCAD")
    pisitools.doexe("LibreCAD-2.2.0-rc3-21-g5d331c8b-x86_64.AppImage",
                    "/opt/LibreCAD")
    pisitools.dosym(
        "/opt/LibreCAD/LibreCAD-2.2.0-rc3-21-g5d331c8b-x86_64.AppImage",
        "/usr/bin/LibreCAD")
コード例 #11
0
def install():
    shelltools.cd("source/")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-everything")

    # remove invalid symlink
    pisitools.remove("/sbin/mount.smbfs")

    # we have all mount.* helpers in /usr/bin
    pisitools.domove("/usr/sbin/mount.cifs", "/usr/bin/")
    pisitools.domove("/usr/sbin/umount.cifs", "/usr/bin/")

    # Nsswitch extensions. Make link for wins and winbind resolvers
    pisitools.dolib_so("nsswitch/libnss_wins.so")
    pisitools.dosym("libnss_wins.so", "/usr/lib/libnss_wins.so.2")
    pisitools.dolib_so("/nsswitch/libnss_winbind.so")
    pisitools.dosym("libnss_winbind.so", "/usr/lib/libnss_winbind.so.2")

    # pam extensions
    pisitools.doexe("bin/pam_smbpass.so", "/lib/security")
    pisitools.doexe("nsswitch/pam_winbind.so", "/lib/security")

    pisitools.dodir("/sbin")
    pisitools.dosym("/usr/bin/smbmount", "/sbin/mount.smbfs")
    pisitools.dosym("/usr/bin/mount.cifs", "/sbin/mount.cifs")

    # needed symlink
    pisitools.dosym("samba/libsmbclient.so", "/usr/lib/libsmbclient.so.0")
    pisitools.dosym("samba/libsmbclient.so", "/usr/lib/libsmbclient.so")

    # cups support
    pisitools.dodir("/usr/lib/cups/backend")
    pisitools.dosym("/usr/bin/smbspool", "/usr/lib/cups/backend/smb")

    # directory things
    pisitools.dodir("/var/spool/samba")
    pisitools.chmod("%s/var/spool/samba" % get.installDIR(), 01777)

    pisitools.dodir("/var/log/samba")
    pisitools.dodir("/var/run/samba")
    pisitools.dodir("/var/cache/samba")

    pisitools.dodir("/var/lib/samba/netlogon")
    pisitools.dodir("/var/lib/samba/profiles")
    pisitools.dodir("/var/lib/samba/printers/W32X86")
    pisitools.dodir("/var/lib/samba/printers/WIN40")
    pisitools.dodir("/var/lib/samba/printers/W32ALPHA")
    pisitools.dodir("/var/lib/samba/printers/W32MIPS")
    pisitools.dodir("/var/lib/samba/printers/W32PPC")

    pisitools.dodir("/usr/lib/samba/auth")
    pisitools.dodir("/usr/lib/samba/idmap")
    pisitools.dodir("/usr/lib/samba/auth")

    # No swat
    pisitools.removeDir("/usr/share/samba/swat/")

    # install python modules
    shelltools.system("python python/setup.py install --root=%s" %
                      get.installDIR())
    pythonmodules.fixCompiledPy()
コード例 #12
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    pisitools.doexe("traceroute/traceroute", "/bin/")
    pisitools.dosym("/bin/traceroute", "/bin/tracert")
    pisitools.dosym("/bin/traceroute", "/bin/traceroute6")
    pisitools.doman("traceroute.8")
    pisitools.dosym("/usr/share/man/man8/traceroute.8", "/usr/share/man/man8/traceroute6.8")
    pisitools.dodoc("ChangeLog", "COPYING", "CREDITS", "README", "TODO")
コード例 #13
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    pisitools.dodir("/usr/lib/misc/")

    pisitools.doexe("ac-wrapper.sh", "/usr/lib/misc/")

    for file in ("autoconf", "autom4te", "autoscan", "autoheader", "autoreconf", "autoupdate", "ifnames"):
        pisitools.dosym("../lib/misc/ac-wrapper.sh", "/usr/bin/%s" % file)
コード例 #14
0
ファイル: actions.py プロジェクト: pars-linux/corporate2
def install():
    distdir = "%s-%s-%s" % (get.srcNAME(), get.srcVERSION(), ARCH)

    pisitools.doexe("%s/libflashplayer.so" % distdir, "/opt/netscape/plugins")
    pisitools.dodir("/usr/lib/nsbrowser/plugins")
    pisitools.dosym("/opt/netscape/plugins/libflashplayer.so",
                    "/usr/lib/nsbrowser/plugins/libflashplayer.so")
コード例 #15
0
def install():
    pisitools.doexe("libflashplayer.so", "/opt/netscape/plugins")
    pisitools.dodir("/usr/lib/nsbrowser/plugins")
    pisitools.dosym("/opt/netscape/plugins/libflashplayer.so",
                    "/usr/lib/nsbrowser/plugins/libflashplayer.so")

    pisitools.dodoc("readme.txt")
コード例 #16
0
ファイル: actions.py プロジェクト: alick01/pisilife-2
def install():
    pisitools.dodir("/opt/Mattermost")
    pisitools.doexe("mattermost-desktop-5.0.2-linux-x86_64.AppImage",
                    "/opt/Mattermost")
    pisitools.dosym(
        "/opt/Mattermost/mattermost-desktop-5.0.2-linux-x86_64.AppImage",
        "/usr/bin/mattermost")
コード例 #17
0
def install():
    autotools.install()
    pisitools.doexe("module/sysprof-module.ko",
                    "/lib/modules/%s/extra/" % get.curKERNEL())

    pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "README",
                    "TODO")
コード例 #18
0
def install():
    shelltools.cd(SAMBA_SOURCE)
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-everything")

    pisitools.insinto("/usr/lib/pkgconfig", "pkgconfig/*pc")

    # we have all mount.* helpers in /usr/bin
    pisitools.domove("/usr/sbin/mount.cifs", "/usr/bin/")
    pisitools.domove("/usr/sbin/umount.cifs", "/usr/bin/")

    # Nsswitch extensions. Make link for wins and winbind resolvers
    pisitools.dolib_so("../nsswitch/libnss_wins.so")
    pisitools.dolib_so("../nsswitch/libnss_winbind.so")
    pisitools.dosym("libnss_wins.so", "/usr/lib/libnss_wins.so.2")
    pisitools.dosym("libnss_winbind.so", "/usr/lib/libnss_winbind.so.2")

    # pam extensions
    pisitools.doexe("bin/pam_smbpass.so", "/lib/security")
    pisitools.doexe("bin/pam_winbind.so", "/lib/security")

    # Move mount helpers to /sbin
    pisitools.dodir("/sbin")

    for f in ("mount.cifs", "umount.cifs"):
        pisitools.domove("/usr/bin/%s" % f, "/sbin")

    pisitools.domove("/usr/sbin/cifs.upcall", "/sbin")

    # Set SUID bit for mount helpers
    shelltools.chmod("%s/sbin/*mount.cifs" % get.installDIR(), mode=04755)

    # cups support
    pisitools.dodir("/usr/lib/cups/backend")
    pisitools.dosym("/usr/bin/smbspool", "/usr/lib/cups/backend/smb")

    # directory things
    pisitools.dodir("/var/spool/samba")
    shelltools.chmod("%s/var/spool/samba" % get.installDIR(), 01777)

    pisitools.dodir("/var/log/samba")
    pisitools.dodir("/var/run/samba")
    pisitools.dodir("/var/run/winbindd")
    pisitools.dodir("/var/cache/samba")

    pisitools.dodir("/var/lib/samba/private")
    pisitools.dodir("/var/lib/samba/winbindd_privileged")
    pisitools.dodir("/var/lib/samba/netlogon")
    pisitools.dodir("/var/lib/samba/profiles")
    pisitools.dodir("/var/lib/samba/printers/W32X86")
    pisitools.dodir("/var/lib/samba/printers/WIN40")
    pisitools.dodir("/var/lib/samba/printers/W32ALPHA")
    pisitools.dodir("/var/lib/samba/printers/W32MIPS")
    pisitools.dodir("/var/lib/samba/printers/W32PPC")

    pisitools.dodir("/usr/lib/samba/auth")
    pisitools.dodir("/usr/lib/samba/idmap")

    # Remove conflicting man pages
    pisitools.remove("/usr/share/man/man8/tdb*")
コード例 #19
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    shelltools.cd("source/")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-everything")

    # remove invalid symlink
    pisitools.remove("/sbin/mount.smbfs")

    # we have all mount.* helpers in /usr/bin
    pisitools.domove("/usr/sbin/mount.cifs","/usr/bin/")
    pisitools.domove("/usr/sbin/umount.cifs","/usr/bin/")

    # Nsswitch extensions. Make link for wins and winbind resolvers
    pisitools.dolib_so("nsswitch/libnss_wins.so")
    pisitools.dosym("libnss_wins.so", "/usr/lib/libnss_wins.so.2")
    pisitools.dolib_so("/nsswitch/libnss_winbind.so")
    pisitools.dosym("libnss_winbind.so", "/usr/lib/libnss_winbind.so.2")

    # pam extensions
    pisitools.doexe("bin/pam_smbpass.so", "/lib/security")
    pisitools.doexe("nsswitch/pam_winbind.so", "/lib/security")

    pisitools.dodir("/sbin")
    pisitools.dosym("/usr/bin/smbmount", "/sbin/mount.smbfs")
    pisitools.dosym("/usr/bin/mount.cifs", "/sbin/mount.cifs")

    # needed symlink
    pisitools.dosym("samba/libsmbclient.so", "/usr/lib/libsmbclient.so.0")
    pisitools.dosym("samba/libsmbclient.so", "/usr/lib/libsmbclient.so")

    # cups support
    pisitools.dodir("/usr/lib/cups/backend")
    pisitools.dosym("/usr/bin/smbspool", "/usr/lib/cups/backend/smb")

    # directory things
    pisitools.dodir("/var/spool/samba")
    pisitools.chmod("%s/var/spool/samba" % get.installDIR(), 01777)

    pisitools.dodir("/var/log/samba")
    pisitools.dodir("/var/run/samba")
    pisitools.dodir("/var/cache/samba")

    pisitools.dodir("/var/lib/samba/netlogon")
    pisitools.dodir("/var/lib/samba/profiles")
    pisitools.dodir("/var/lib/samba/printers/W32X86")
    pisitools.dodir("/var/lib/samba/printers/WIN40")
    pisitools.dodir("/var/lib/samba/printers/W32ALPHA")
    pisitools.dodir("/var/lib/samba/printers/W32MIPS")
    pisitools.dodir("/var/lib/samba/printers/W32PPC")

    pisitools.dodir("/usr/lib/samba/auth")
    pisitools.dodir("/usr/lib/samba/idmap")
    pisitools.dodir("/usr/lib/samba/auth")

    # No swat
    pisitools.removeDir("/usr/share/samba/swat/")

    # install python modules
    shelltools.system("python python/setup.py install --root=%s" % get.installDIR())
    pythonmodules.fixCompiledPy()
コード例 #20
0
def install():
    pisitools.doexe("traceroute/traceroute", "/bin/")
    pisitools.dosym("/bin/traceroute", "/bin/tracert")
    pisitools.dosym("/bin/traceroute", "/bin/traceroute6")
    pisitools.doman("traceroute.8")
    pisitools.dosym("/usr/share/man/man8/traceroute.8",
                    "/usr/share/man/man8/traceroute6.8")
    pisitools.dodoc("ChangeLog", "COPYING", "CREDITS", "README", "TODO")
コード例 #21
0
def install():
    pisitools.dodir("/usr/lib/misc/")
    pisitools.dodir("/usr/share/aclocal")

    pisitools.doexe("am-wrapper.sh", "/usr/lib/misc/")

    pisitools.dosym("../lib/misc/am-wrapper.sh", "/usr/bin/automake")
    pisitools.dosym("../lib/misc/am-wrapper.sh", "/usr/bin/aclocal")
コード例 #22
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    pisitools.doexe("sim", "/usr/share/simutrans")

    for data in ("config", "font", "music", "text"):
        fixperms("simutrans/%s" % data)
        pisitools.insinto("/usr/share/simutrans", "simutrans/%s" % data)

    pisitools.dodoc("simutrans/*.txt", "documentation/*.txt")
コード例 #23
0
def install():
    SOURCE_DIR = "/usr/share/common-lisp/source/cl-asdf"

    pisitools.doexe("asdf.lisp", SOURCE_DIR)
    pisitools.dolib("asdf-ecl.lisp", SOURCE_DIR)
    pisitools.dolib("wild-modules.lisp", SOURCE_DIR)
    pisitools.dolib("asdf.asd", SOURCE_DIR)
    pisitools.dolib("build.xcvb", SOURCE_DIR)
コード例 #24
0
def install():
    pisitools.dodir("/usr/lib/misc/")

    pisitools.doexe("ac-wrapper.sh", "/usr/lib/misc/")

    for file in ("autoconf", "autom4te", "autoscan", "autoheader",
                 "autoreconf", "autoupdate", "ifnames"):
        pisitools.dosym("../lib/misc/ac-wrapper.sh", "/usr/bin/%s" % file)
コード例 #25
0
def install():
    pisitools.dodir("/usr/lib/misc/")
    pisitools.dodir("/usr/share/aclocal")
    
    pisitools.doexe("am-wrapper.sh", "/usr/lib/misc/")

    pisitools.dosym("../lib/misc/am-wrapper.sh", "/usr/bin/automake")
    pisitools.dosym("../lib/misc/am-wrapper.sh", "/usr/bin/aclocal")
コード例 #26
0
ファイル: actions.py プロジェクト: seaside82/anka-stable
def install():
    pisitools.dobin("makeself.sh")
    pisitools.dodir("/usr/share/man")
    pisitools.dodir("/usr/share/makeself")
    pisitools.doexe("makeself-header.sh", "/usr/share/makeself/")
    pisitools.doman("makeself.1")

    pisitools.dodoc("COPYING", "TODO", "README")
コード例 #27
0
ファイル: actions.py プロジェクト: blue-devil/kuller
def install():
    pisitools.doexe("pam_ldap.so", "/lib/security")

    # This may be more useful in /etc/openldap/schema/
    pisitools.dodoc("ns-pwd-policy.schema")
    pisitools.doman("pam_ldap.5")

    pisitools.dodoc("ChangeLog", "README", "AUTHORS", "ldap.conf")
コード例 #28
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    SOURCE_DIR = "/usr/share/common-lisp/source/cl-asdf"

    pisitools.doexe("asdf.lisp", SOURCE_DIR)
    pisitools.dolib("asdf-ecl.lisp", SOURCE_DIR)
    pisitools.dolib("wild-modules.lisp", SOURCE_DIR)
    pisitools.dolib("asdf.asd", SOURCE_DIR)
    pisitools.dolib("build.xcvb", SOURCE_DIR)
コード例 #29
0
def install():
    pisitools.doexe("sim", "/usr/share/simutrans")

    for data in ("config", "font", "music", "text"):
        fixperms("simutrans/%s" % data)
        pisitools.insinto("/usr/share/simutrans", "simutrans/%s" % data)

    pisitools.dodoc("simutrans/*.txt", "documentation/*.txt")
コード例 #30
0
ファイル: actions.py プロジェクト: aaydin/PisiLinux
def install():
    pisitools.dobin("makeself.sh")
    pisitools.dodir("/usr/share/man")
    pisitools.dodir("/usr/share/makeself")
    pisitools.doexe("makeself-header.sh", "/usr/share/makeself/")
    pisitools.doman("makeself.1")    

    pisitools.dodoc("COPYING", "TODO", "README")
コード例 #31
0
ファイル: actions.py プロジェクト: pars-linux/corporate2
def install():
    pisitools.doexe("pam_ldap.so", "/lib/security")

    # This may be more useful in /etc/openldap/schema/
    pisitools.dodoc("ns-pwd-policy.schema")
    pisitools.doman("pam_ldap.5")

    pisitools.dodoc("ChangeLog", "README", "AUTHORS")
コード例 #32
0
ファイル: actions.py プロジェクト: pars-linux/pardus-1.0
def install():
    pisitools.dosbin("preload", "/sbin")
    pisitools.dosbin("print-bmap", "/sbin")
    
    pisitools.dobin("preload.sh")
    pisitools.dosbin("parse_strace")
    pisitools.dosbin("prepare_preload_file")
    
    pisitools.doexe("preload.desktop", "/usr/share/autostart/")
コード例 #33
0
ファイル: actions.py プロジェクト: pars-linux/pardus-1.0
def install():
    pisitools.dobin("udevinfo", "/bin")
    pisitools.dobin("udevtest", "/bin")
    pisitools.dobin("udevmonitor", "/bin")

    pisitools.dosbin("udev", "/sbin")
    pisitools.dosbin("udevd", "/sbin")
    pisitools.dosbin("udevsend", "/sbin")
    pisitools.dosbin("udevstart", "/sbin")
    pisitools.dosbin("udeveventrecorder", "/sbin")
    pisitools.dosbin("udevcontrol", "/sbin")

    pisitools.dosbin("extras/run_directory/udev_run_devd", "/sbin")
    pisitools.dosbin("extras/run_directory/udev_run_hotplugd", "/sbin")
    pisitools.dosbin("extras/ata_id/ata_id", "/sbin")
    pisitools.dosbin("extras/volume_id/vol_id", "/sbin")
    pisitools.dosbin("extras/scsi_id/scsi_id", "/sbin")
    pisitools.dosbin("extras/usb_id/usb_id", "/sbin")
    pisitools.dosbin("extras/cdrom_id/cdrom_id", "/sbin")
    pisitools.dosbin("extras/path_id", "/sbin")
    pisitools.dosbin("extras/floppy/create_floppy_devices", "/sbin")
    pisitools.dosbin("extras/firmware/firmware_helper" "/sbin")

    pisitools.doexe("extras/ide-devfs.sh", "/etc/udev/scripts/")
    pisitools.doexe("extras/raid-devfs.sh", "/etc/udev/scripts/")
    pisitools.doexe("extras/scsi-devfs.sh", "/etc/udev/scripts/")
    pisitools.doexe("extras/dvb.sh", "/etc/udev/scripts/")

    pisitools.insinto("/etc/udev/rules.d/", "etc/udev/gentoo/udev.rules", "50-udev.rules")

    # scsi_id configuration
    pisitools.insinto("/etc", "extras/scsi_id/scsi_id.config")

    # set up symlinks in /etc/hotplug.d/default
    pisitools.dodir("/etc/hotplug.d/default")
    pisitools.dosym("../../../sbin/udevsend", "/etc/hotplug.d/default/10-udev.hotplug")

    # set up the /etc/dev.d directory tree
    pisitools.dodir("/etc/dev.d/default")
    pisitools.dodir("/etc/dev.d/net")
    pisitools.doexe("extras/run_directory/dev.d/net/hotplug.dev", "/etc/dev.d/net")

    pisitools.doman("*.8")
    pisitools.doman("extras/ata_id/ata_id.8")
    pisitools.doman("extras/edd_id/edd_id.8")
    pisitools.doman("extras/scsi_id/scsi_id.8")
    pisitools.doman("extras/volume_id/vol_id.8")
    pisitools.doman("extras/dasd_id/dasd_id.8")
    pisitools.doman("extras/cdrom_id/cdrom_id.8")

    pisitools.dodoc("COPYING", "ChangeLog", "FAQ", "HOWTO-udev_for_dev", "README", "TODO", "RELEASE-NOTES")
    pisitools.dodoc("docs/overview", "docs/udev_vs_devfs")
    pisitools.dodoc("docs/writing_udev_rules/*")
    pisitools.newdoc("extras/volume_id/README", "README_volume_id")

    # Generate static one for initrd
    generateStatic()
コード例 #34
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    autotools.install("lispdir=%s/usr/share/emacs/site-lisp docdir=%s/usr/share/doc/%s/html" % (get.installDIR(), get.installDIR(), get.srcTAG()))

    pisitools.dosym("msgfmt", "/usr/bin/gmsgfmt")
    pisitools.doexe("gettext-tools/misc/gettextize", "/usr/bin")

    pisitools.domove("/usr/doc/gettext", "/usr/share/doc/%s/html" % get.srcTAG())

    pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "DISCLAIM", "NEWS", "README*", "THANKS", "TODO")
コード例 #35
0
def install():
    shelltools.cd("source")
    pisitools.dobin("release/crded")
    pisitools.dobin("release/crx")

    pisitools.rename("/usr/bin/crded", "alienarena-server")
    pisitools.rename("/usr/bin/crx", "alienarena")

    pisitools.doexe("release/game.so", "%s/arena" % libdir)
コード例 #36
0
ファイル: actions.py プロジェクト: ibrahimkaraguzel/kuller
def install():
    shelltools.cd("source")
    pisitools.dobin("release/crded")
    pisitools.dobin("release/crx")

    pisitools.rename("/usr/bin/crded", "alienarena-server")
    pisitools.rename("/usr/bin/crx", "alienarena")

    pisitools.doexe("release/game.so", "%s/arena" % libdir)
コード例 #37
0
def install():
    pisitools.dobin("unrar")
    
    shelltools.cd("%s" % get.workDIR())
    shelltools.cd("libunrar")
    pisitools.doexe("libunrar.so", "/usr/lib")
    pisitools.insinto("/usr/include/unrar", "dll.hpp")
    
    pisitools.dodoc("readme.txt","license.txt")
コード例 #38
0
def install():
    pisitools.dobin("%s/install/linux2/blender" % get.workDIR())
    pisitools.dobin("%s/install/linux2/blenderplayer" % get.workDIR())

    pisitools.doexe("%s/install/linux2/plugins/texture/*.so" % get.workDIR(), "/usr/lib/blender/textures")
    pisitools.doexe("%s/install/linux2/plugins/sequence/*.so" % get.workDIR(), "/usr/lib/blender/sequences")
    pisitools.insinto("%s/install/linux2/plugins/include/*.h" % get.workDIR(), "/usr/include/blender")
    pisitools.insinto("/usr/lib/blender/", "release/scripts")
    pisitools.dodoc("COPYING", "INSTALL", "README")
コード例 #39
0
ファイル: actions.py プロジェクト: tulliana/playground
def install():
    autotools.install()
    pisitools.dodir("/usr/share/sofastats")
    pisitools.insinto("/usr/share/sofastats")
    pisitools.doins("sofa_main/*")
    pisitools.exeinto("/usr/share/sofastats")
    pisitools.doexe("sofa_main/*.py*")
    pisitools.doexe("sofa_main/*/*.py*")
    pisitools.dosym("/usr/share/sofastats/start.py /usr/bin/sofastats")
コード例 #40
0
def install():
    pisitools.insinto("/usr/bin", "%s/ioq3ded.i386" % builddir, "ioPaintball-server")
    pisitools.insinto("/usr/bin", "%s/ioquake3.i386" % builddir, "ioPaintball")
    pisitools.insinto("/usr/bin", "%s/ioquake3-smp.i386" % builddir, "ioPaintball-smp")

    for so in ["baseq3", "missionpack"]:
        pisitools.doexe("%s/%s/*.so" % (builddir, so), "%s/%s/" % (datadir, so))

    pisitools.dodoc("BUGS", "ChangeLog", "NOTTODO", "TODO", "README", "*.txt")
コード例 #41
0
ファイル: actions.py プロジェクト: DeepakBachu/2013
def install():
    pisitools.insinto("/usr/bin", "%s/ioq3ded.%s" % (builddir, ARCH), "ioPaintball-server")
    pisitools.insinto("/usr/bin", "%s/ioquake3.%s" % (builddir, ARCH), "ioPaintball")
    pisitools.insinto("/usr/bin", "%s/ioquake3-smp.%s" % (builddir, ARCH), "ioPaintball-smp")

    for so in ["baseq3", "missionpack"]:
        pisitools.doexe("%s/%s/*.so" % (builddir, so), "%s/%s/" % (datadir, so))

    pisitools.dodoc("BUGS", "ChangeLog", "NOTTODO", "TODO", "README", "*.txt")
コード例 #42
0
def install():
    pisitools.doexe("libflashplayer.so", "/opt/netscape/plugins")
    pisitools.insinto("/opt/netscape/plugins", "flashplayer.xpt")
   
    pisitools.dodir("/usr/lib/nsbrowser/plugins")
    pisitools.dosym("/opt/netscape/plugins/libflashplayer.so", "/usr/lib/nsbrowser/plugins/libflashplayer.so")
    pisitools.dosym("/opt/netscape/plugins/flashplayer.xpt", "/usr/lib/nsbrowser/plugins/flashplayer.xpt")

    pisitools.dodoc("Readme.txt")
コード例 #43
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    autotools.install()
    pisitools.dodoc("ANNOUNCE", "AUTHORS", "BUGS", "ChangeLog", "COPYING.LIB", "LICENSE", "README", "documentation/README.*")

    pisitools.remove("/usr/bin/wineshelllink")
    pisitools.removeDir("/usr/share/applications")

    pisitools.doexe("tools/killwineapps/killwineapps", "/usr/bin")
    pisitools.domo("tools/killwineapps/po/tr.po", "tr", "killwineapps.mo")
コード例 #44
0
ファイル: actions.py プロジェクト: zekizeki2010/playground
def install():
    autotools.install()
    pisitools.dodir("/usr/share/sofastats")
    pisitools.insinto("/usr/share/sofastats")
    pisitools.doins("sofa_main/*")
    pisitools.exeinto("/usr/share/sofastats")
    pisitools.doexe("sofa_main/*.py*")
    pisitools.doexe("sofa_main/*/*.py*")
    pisitools.dosym("/usr/share/sofastats/start.py /usr/bin/sofastats")
コード例 #45
0
def install():
    pisitools.insinto("/usr/bin/", "usr/bin/flash-player-properties")
    pisitools.insinto("/usr/lib/kde4/", "usr/lib/kde4/kcm_adobe_flash_player.so")
    pisitools.insinto("/usr/", "usr/share/")

    if get.ARCH() == "x86_64":
        pisitools.insinto("/usr/lib/kde4", "usr/lib64/kde4/kcm_adobe_flash_player.so")

    pisitools.doexe("libflashplayer.so", "/usr/lib/browser-plugins")
コード例 #46
0
ファイル: actions.py プロジェクト: ibrahimkaraguzel/kuller
def install():
    pisitools.insinto("/usr/bin", "%s/oa_ded.i386" % builddir, "openarena-server")
    pisitools.insinto("/usr/bin", "%s/openarena.i386" % builddir, "openarena")
    pisitools.insinto("/usr/bin", "%s/openarena-smp.i386" % builddir, "openarena-smp")

    for so in ["baseoa", "missionpack"]:
        pisitools.doexe("%s/%s/*.so" % (builddir, so), "%s/%s/" % (datadir, so))

    pisitools.dodoc("BUGS", "ChangeLog", "CHANGES", "COPYING", "CREDITS", "NOTTODO", "TODO", "README", "*.txt")
コード例 #47
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    pisitools.insinto("/usr/bin", "%s/ioq3ded.i386" % builddir, "westernquake3-server")
    pisitools.insinto("/usr/bin", "%s/ioquake3.i386" % builddir, "westernquake3")
    pisitools.insinto("/usr/bin", "%s/ioquake3-smp.i386" % builddir, "westernquake3-smp")

    for so in ["baseq3", "missionpack"]:
        pisitools.doexe("%s/%s/*.so" % (builddir, so), "%s/%s/" % (datadir, so))

    pisitools.dodoc("BUGS", "ChangeLog", "TODO", "README", "*.txt", "code/unix/LinuxSupport/*")
コード例 #48
0
def install():
    autotools.install("docdir=%s/usr/share/doc/%s" % (get.installDIR(), get.srcTAG()))

    pisitools.dodir("/var/lib/lock/sane")

    shelltools.cd("tools/hotplug")
    pisitools.insinto("/etc/hotplug/usb", "libsane.usermap")
    pisitools.doexe("libusbscanner", "/etc/hotplug/usb")

    shelltools.echo("/etc/env.d/30sane", "SANE_CONFIG_DIR=/etc/sane.d")
コード例 #49
0
ファイル: actions.py プロジェクト: DeepakBachu/2013
def install():
    distdir = "%s-%s-%s" % (get.srcNAME(), get.srcVERSION(), ARCH)

    shelltools.copytree("%s/usr" % distdir, "%s/usr" % get.installDIR())

    if get.ARCH() == "x86_64":
        pisitools.insinto("/usr/lib/kde4", "%s/%s/%s/usr/lib64/kde4/kcm_adobe_flash_player.so" % (get.workDIR(), get.ARCH(), distdir))
        pisitools.removeDir("/usr/lib64")

    pisitools.doexe("%s/libflashplayer.so" % distdir, "/usr/lib/browser-plugins")
コード例 #50
0
ファイル: actions.py プロジェクト: friberk/main
def install():
    pisitools.insinto("/usr/bin/", "usr/bin/flash-player-properties")
    #pisitools.insinto("/usr/lib/kde4/", "usr/lib/kde4/kcm_adobe_flash_player.so")
    pisitools.insinto("/usr/", "usr/share/")

    #if get.ARCH() == "x86_64":
    #pisitools.insinto("/usr/lib/kde4", "usr/lib64/kde4/kcm_adobe_flash_player.so")

    pisitools.doexe("libflashplayer.so", "/usr/lib/mozilla/plugins")
    pisitools.removeDir("/usr/share/kde4")
コード例 #51
0
ファイル: actions.py プロジェクト: Omerkurt38/main
def install():
    pisitools.insinto("/usr/bin/", "usr/bin/flash-player-properties")
    #pisitools.insinto("/usr/lib/kde4/", "usr/lib/kde4/kcm_adobe_flash_player.so")
    pisitools.insinto("/usr/", "usr/share/")

    #if get.ARCH() == "x86_64":
        #pisitools.insinto("/usr/lib/kde4", "usr/lib64/kde4/kcm_adobe_flash_player.so")

    pisitools.doexe("libflashplayer.so", "/usr/lib/mozilla/plugins")
    pisitools.removeDir("/usr/share/kde4")
コード例 #52
0
def install():
    autotools.install()
    pisitools.dodoc("ANNOUNCE", "AUTHORS", "BUGS", "ChangeLog",
                    "DEVELOPERS-HINTS", "README", "documentation/README.*")

    pisitools.remove("/usr/bin/wineshelllink")
    pisitools.removeDir("/usr/share/applications")

    pisitools.doexe("tools/killwineapps/killwineapps", "/usr/bin")
    pisitools.domo("tools/killwineapps/po/tr.po", "tr", "killwineapps.mo")
コード例 #53
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    ''' Exe '''
    pisitools.doexe("main.py", "/usr/bin")
    pisitools.rename("/usr/bin/main.py", "ntlmaps")
    ''' Libs '''
    pisitools.insinto("/usr/lib/ntlmaps", "lib/*")
    ''' Docs '''
    pisitools.dodoc("doc/*")
    ''' Conf '''
    pisitools.insinto("/etc/ntlmaps", "server.cfg")
    shelltools.chmod("%s/etc/ntlmaps/server.cfg" % get.installDIR(), 0640)
コード例 #54
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    pisitools.dobin("release/crded")
    pisitools.dobin("release/crx")
    pisitools.dobin("release/crx.sdl")

    pisitools.rename("/usr/bin/crded", "alienarena-server")
    pisitools.rename("/usr/bin/crx", "alienarena-oss")
    pisitools.rename("/usr/bin/crx.sdl", "alienarena-sdl")

    pisitools.doexe("release/game.so", "%s/arena" % datadir)
    pisitools.dosym("%s/arena/game.so" % datadir, "%s/data1/game.so" % datadir)
コード例 #55
0
def install():
    pisitools.dobin("blender")
    pisitools.dobin("blenderplayer")

    pisitools.doexe("release/plugsins/texture/*.so", "/usr/lib/blender/textures")
    pisitools.doexe("release/plugsins/sequence/*.so", "/usr/lib/blender/sequences")

    for file in ["bpydata", "plugins", "scripts"]:
        pisitools.insinto("/usr/lib/blender/", "release/%s" % file) 
   
    pisitools.dodoc("COPYING", "INSTALL", "README", "release_237.txt") 
コード例 #56
0
def install():
    pisitools.doexe("bin/7z", "/usr/lib/p7zip")
    pisitools.doexe("bin/7za", "/usr/lib/p7zip")
    pisitools.doexe("bin/7zCon.sfx", "/usr/lib/p7zip")

    pisitools.doexe("bin/Codecs/*", "/usr/lib/p7zip/Codecs")
    pisitools.doexe("bin/Formats/*", "/usr/lib/p7zip/Formats")

    pisitools.doman("man1/7z.1", "man1/7za.1")
    pisitools.dodoc("ChangeLog", "README", "TODO", "DOCS/*.txt")
    pisitools.dohtml("DOCS/MANUAL/*")
コード例 #57
0
ファイル: actions.py プロジェクト: ibrahimkaraguzel/kuller
def install():
    pisitools.dobin("tempfile", "/bin")
    pisitools.dobin("run-parts", "/bin")

    pisitools.doexe("savelog", "/usr/sbin")

    pisitools.dosbin("installkernel", "/sbin")
    pisitools.dosbin("mkboot")

    pisitools.doman("add-shell.8", "tempfile.1", "run-parts.8", "savelog.8", "installkernel.8", "mkboot.8")
    pisitools.dodoc("debian/changelog", "debian/control", "debian/copyright", "debian/README.shells")
コード例 #58
0
ファイル: actions.py プロジェクト: alihanozturk/kuller
def install():
    autotools.rawInstall("DESTDIR=%s docdir=/%s/html" % (get.installDIR(), docdir))

    pisitools.doexe("gettext-tools/misc/gettextize", "/usr/bin")

    # Remove C# & Java stuff
    pisitools.remove("%s/html/examples/build-aux/csharp*" % docdir)
    pisitools.remove("%s/html/examples/build-aux/java*" % docdir)
    pisitools.removeDir("%s/html/examples/*java*" % docdir)
    pisitools.removeDir("%s/html/*java*" % docdir)

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