def install(): shelltools.export("ARCH", "") autotools.rawInstall('EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \ EXTRA_KLIBCLDFLAGS="-z,noexecstack" \ HOSTCC="%s" CC="%s" \ KLIBCARCH=i386 \ KLIBCASMARCH=x86 \ libdir=/usr/lib \ SHLIBDIR=/lib \ mandir=/usr/share/man \ INSTALLROOT="%s" \ INSTALLDIR=/usr/lib/klibc' % (get.CC(), get.CC(), get.installDIR())) asmSrcDir = "linux/arch/x86/include/asm" asmTargetDir = "/usr/lib/klibc/include/asm" # just a workaround for installer bug with 2.6.24, will make it sane later pisitools.remove(asmTargetDir) pisitools.dosym("asm-x86", asmTargetDir) # yet another new kernel compatibility workaround for 2.6.28 and above for f in shelltools.ls(asmSrcDir): pisitools.insinto(asmTargetDir, "%s/%s" % (asmSrcDir, f)) fixperms("%s/usr/lib/klibc/include" % get.installDIR()) for f in ["gunzip", "zcat"]: pisitools.remove("/usr/lib/klibc/bin/%s" % f) pisitools.dosym("gzip", "/usr/lib/klibc/bin/%s" % f) pisitools.dodoc("README", "usr/klibc/LICENSE", "usr/klibc/CAVEATS") for f in docs: pisitools.newdoc(f, docs[f])
def install(): shelltools.cd("%s/lsof_4.88/lsof_4.88_src" % get.workDIR()) pisitools.dodoc("00*") pisitools.dobin("lsof") pisitools.doman("lsof.8") pisitools.insinto("/usr/share/lsof/scripts", "%s/lsof_4.88/lsof_4.88_src/scripts/*" % get.workDIR())
def install(): pisitools.dobin("bin/kotaci") pisitools.insinto("/usr/share/applications", "data/kotaci.desktop") pisitools.insinto("/usr/share/pixmaps", "data/icons/kotaci.png") pisitools.dodoc("AUTHORS", "COPYING", "README", "TODO")
def install(): autotools.rawInstall("PREFIX=%s/usr/ INSTALL=\"install -c\"" % get.installDIR()) pisitools.insinto("/usr/share/applications", "atanks.desktop") pisitools.insinto("/usr/share/pixmaps", "atanks.png") pisitools.dodoc("Changelog", "COPYING", "credits.txt", "README", "TODO")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) # Remove files we don't want pisitools.remove("/etc/dhcpd.conf") pisitools.remove("/etc/dhclient.conf") # Install dhcp.schema for LDAP configuration pisitools.insinto("/etc/openldap/schema", "contrib/ldap/dhcp.schema") # dhclient configuration per service support is not ready yet, no need to create this directory for now # Install empty directory for dhclient.d scripts #pisitools.dodir("/etc/dhcp/dhclient.d") # Create directory hierarchy in /var pisitools.dodir("/var/lib/dhcpd") pisitools.dodir("/var/lib/dhclient") # Sample configuration files pisitools.insinto("/usr/share/doc/dhcp", "client/dhclient.conf", "dhclient.conf.sample") pisitools.insinto("/usr/share/doc/dhcp", "server/dhcpd.conf", "dhcpd.conf.sample") pisitools.insinto("/usr/share/doc/dhcp", "doc/examples/dhclient-dhcpv6.conf", "dhclient6.conf.sample") pisitools.insinto("/usr/share/doc/dhcp", "doc/examples/dhcpd-dhcpv6.conf", "dhcpd6.conf.sample") pisitools.dodoc("LICENSE", "README", "RELNOTES")
def install(): #shelltools.chmod("src/game/egoboo", 0755) #pisitools.insinto(data, "src/game/egoboo") pisitools.dobin("src/game/egoboo") pisitools.insinto(data, "controls.txt") pisitools.insinto(data, "setup.txt")
def install(): pisitools.dodir("/usr/share") wanteddirs = [] for file_ in shelltools.ls(get.workDIR()): if shelltools.isDirectory(file_) and not "texmf" in file_: wanteddirs.append(file_) for folder in wanteddirs: pisitools.insinto("/usr/share/texmf-dist", folder) if shelltools.can_access_directory("texmf-dist"): # Recursively copy on directory on top of another, overwrite duplicate files too copy_tree("texmf-dist", "%s/usr/share/texmf-dist" % get.installDIR()) ## chmod of script files script_dir = get.installDIR() + "/usr/share/texmf-dist/scripts" if shelltools.can_access_directory(script_dir): for root, dirs, files in os.walk(script_dir): for name in files: shelltools.chmod(os.path.join(root, name), 0755) # copy config file to texmf-config pisitools.dodir("/etc/texmf/tex/context/config") shelltools.copy("%s/usr/share/texmf-dist/tex/context/config/cont-usr.tex" % get.installDIR(), \ "%s/etc/texmf/tex/context/config/cont-usr.tex" % get.installDIR()) # old packages, we will not provide them pisitools.remove("/usr/share/texmf-dist/tex/plain/config/omega.ini") pisitools.remove("/usr/share/texmf-dist/tex/plain/config/aleph.ini") pisitools.removeDir("/usr/share/texmf-dist/scripts/context/stubs/mswin/")
def install(): pythonmodules.install() pisitools.insinto("%s/%s/examples" % (get.docDIR(), get.srcNAME()), "capture_*.py") pisitools.insinto("%s/%s/examples" % (get.docDIR(), get.srcNAME()), "list_devices.py") pisitools.dodoc("README")
def install(): pisitools.insinto("/usr/include", "*.h") pisitools.dolib("libtinyxml.so.0.%s" % get.srcVERSION()) pisitools.dosym("/usr/lib/libtinyxml.so.0.%s" % get.srcVERSION(), "/usr/lib/libtinyxml.so.0") pisitools.dosym("/usr/lib/libtinyxml.so.0.%s" % get.srcVERSION(), "/usr/lib/libtinyxml.so") pisitools.dodoc("changes.txt", "readme.txt") pisitools.dohtml("docs/*")
def install(): autotools.install() pisitools.dodoc("README", "HOWTO", "COPYING") pisitools.dodir("/%s/fio/examples" % get.docDIR()) pisitools.insinto("/%s/fio/examples" % get.docDIR(), "examples/*")
def install(): autotools.install("DESTDIR=%s CUPSPPD=/usr/share/cups/model/splix" % get.installDIR()) # Install color profiles pisitools.insinto("/usr/share/cups/model/samsung/cms", "cms/*") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "THANKS", "TODO")
def install(): pisitools.dosym("hosts_access.5", "/usr/share/man/man5/hosts.allow.5") pisitools.dosym("hosts_access.5", "/usr/share/man/man5/hosts.deny.5") pisitools.dosbin("tcpd") pisitools.dosbin("tcpdchk") pisitools.dosbin("tcpdmatch") pisitools.dosbin("safe_finger") pisitools.dosbin("try-from") pisitools.doman("*.3", "*.5", "*.8") pisitools.insinto("/usr/include/", "tcpd.h") pisitools.dolib_a("libwrap.a") pisitools.domove("libwrap.so", "libwrap.so.0.%s" % get.srcVERSION()) pisitools.dolib_so("libwrap.so.0.%s" % get.srcVERSION(), "/lib") pisitools.dosym("/lib/libwrap.so.0.%s" % get.srcVERSION(), "/lib/libwrap.so.0") pisitools.dosym("/lib/libwrap.so.0", "/lib/libwrap.so") libtools.gen_usr_ldscript("libwrap.so") pisitools.dodoc("BLURB", "CHANGES", "DISCLAIMER", "README*", "hosts.allow.example")
def install(): # ejabberdctl pisitools.insinto("/usr/sbin", "tools/*") # mnesia path pisitools.dodir("/var/lib/jabber/spool") shelltools.cd("src") # NOTE: Don't forget to update service.py with new versions... destdir = get.installDIR() ejabberddir = "%s/usr/lib/erlang/lib/%s-%s" % (destdir, get.srcNAME(), get.srcVERSION()) etcdir = "%s/etc/jabber/" % destdir logdir = "%s/var/log/jabber/" % destdir autotools.rawInstall("DESTDIR=%s EJABBERDDIR=%s ETCDIR=%s LOGDIR=%s" % ( destdir, ejabberddir, etcdir, logdir)) pisitools.dosed("%s/etc/jabber/ejabberd.cfg" % get.installDIR(), #"\.\/ssl\.pem", "/path/to/ssl.pem", "/etc/jabber/ssl.pem") shelltools.cd("../") pisitools.dodoc("ChangeLog", "COPYING")
def install(): autotools.install() pisitools.insinto("/usr/share/doc/%s/examples"% get.srcTAG(), "doc/*.example") pisitools.insinto("/usr/share/doc/%s/examples"% get.srcTAG(), "scripts/msmtpqueue/*") pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "THANKS")
def install(): autotools.install() pisitools.insinto("/usr/share/applications", "desktop/dreamchess.desktop") pisitools.insinto("/usr/share/pixmaps", "desktop/dreamchess.png") pisitools.dodoc("ChangeLog", "README", "NEWS", "COPYING", "AUTHORS")
def install(): pisitools.dodir("/opt/eclipse") pisitools.insinto("/opt/eclipse", "plugins") pisitools.insinto("/opt/eclipse", "features") fixPermissions()
def install(): # root owns sandbox as it is setuid shelltools.system("chown root:root opt/google/chrome/chrome-sandbox") # ensure setuid shelltools.system("chmod 4755 opt/google/chrome/chrome-sandbox") pisitools.insinto("/", "opt") pisitools.insinto("/", "usr")
def install(): pisitools.insinto(datadir, "base") for f in exefiles: pisitools.dobin(f) pisitools.dodoc("BUGS", "CONTRIBUTORS", "COPYING", "README*")
def install(): #shelltools.export("HOME", "%s" %get.workDIR()) autotools.rawInstall('DESTDIR=%s INSTALL="install -p"'% get.installDIR()) pisitools.removeDir("/usr/share/locale") for i in shelltools.ls("examples"): if i.endswith(".png") or i.endswith(".c"): pisitools.insinto("/%s/%s/examples/" % (get.docDIR(), get.srcNAME()), "examples/%s" % i)
def install(): pisitools.insinto("/usr/share/fonts/arkpandora/", "*.ttf") pisitools.insinto("/etc/fonts/conf.avail/", "local.conf.arkpandora", "62-arkpandora-fonts.conf") pisitools.dosym("../conf.avail/62-arkpandora-fonts.conf", "/etc/fonts/conf.d/62-arkpandora-fonts.conf") pisitools.dodoc("COPYRIGHT.TXT", "CHANGELOG.TXT")
def install(): pisitools.dodir("/usr/bin") pisitools.dodir("/usr/share/man/man1") shelltools.system("./vncinstall %s/usr/bin %s/usr/share/man" % (get.installDIR(), get.installDIR())) pisitools.insinto("/usr/share/tightvnc/classes", "classes/*")
def install(): pisitools.dodir("/usr/share") wanteddirs = [] for file_ in shelltools.ls('.'): if shelltools.isDirectory(file_) and not "texmf" in file_: wanteddirs.append(file_) for folder in wanteddirs: pisitools.insinto("/usr/share/texmf-dist", folder) if shelltools.can_access_directory("texmf-dist"): # Recursively copy on directory on top of another, overwrite duplicate files too copy_tree("texmf-dist", "%s/usr/share/texmf-dist" % get.installDIR()) ## chmod of script files script_dir = get.installDIR() + "/usr/share/texmf-dist/scripts" if shelltools.can_access_directory(script_dir): for root, dirs, files in os.walk(script_dir): for name in files: shelltools.chmod(os.path.join(root, name), 0755) pisitools.remove("/usr/share/texmf-dist/scripts/m-tx/m-tx.lua") pisitools.remove("/usr/share/texmf-dist/scripts/musixtex/musixtex.lua") pisitools.remove("/usr/share/texmf-dist/scripts/musixtex/musixflx.lua") pisitools.remove("/usr/share/texmf-dist/scripts/pmx/pmx2pdf.lua")
def install(): pisitools.dobin("smile") for data in ["BIB_ManSlide", "Interface", "*.qm"]: pisitools.insinto("/usr/share/smile", data) pisitools.dodoc("copying")
def install(): pythonmodules.install() pisitools.dohtml("doc/") pisitools.insinto(htmltxt, "doc/*.txt") pisitools.dodoc("README.txt", "COPYING", "ChangeLog")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.insinto("/usr/share/applications", "assets/scourge.desktop") pisitools.insinto("/usr/share/pixmaps", "assets/scourge.png") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
def install(): shelltools.cd("build") cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.cd("") pisitools.dosed('debian/qgis.desktop', 'qgis-icon', '/usr/share/qgis/images/icons/qgis-icon.png') pisitools.insinto("/usr/share/applications/", "debian/qgis.desktop") pisitools.domove("/usr/share/qgis/doc/*", "/usr/share/doc/qgis/")
def install(): # Install into /usr/lib/pardus so we can protect ourself from python updates pythonmodules.install("--install-lib=/usr/lib/pardus") pisitools.dosym("pisi-cli", "/usr/bin/pisi") pisitools.insinto("/etc/pisi", "pisi.conf-%s" % get.ARCH(), "pisi.conf")
def install(): shelltools.chmod("*.ttf", 0644) shelltools.chmod("*.txt", 0644) pisitools.insinto("/usr/share/fonts/charis", "*.ttf") pisitools.dodoc("*.txt", "*.pdf")
def install(): pythonmodules.install() pisitools.dodoc("ChangeLog.txt", "COPYING.txt", "README.txt") shelltools.chmod("examples/*", 0644) pisitools.insinto(examples, "examples/*")
def install(): autotools.install() pisitools.insinto("/usr/include", "wvinternal.h") pisitools.dosym("/usr/share/man/man1/wvWare.1", "/usr/share/man/man1/wvConvert.1") pisitools.dodoc("COPYING", "README")
def install(): pisitools.insinto("/usr/share/php5/PEAR/HTTP/WebDAV", "Server*") pisitools.insinto("/usr/share/php5/PEAR/HTTP/WebDAV/Tools", "Tools/*") pisitools.insinto("/usr/share/php5/PEAR/HTTP/WebDAV/db", "db/*") pisitools.insinto("/usr/share/php5/PEAR/HTTP/WebDAV", "dav.txt") pisitools.insinto("/usr/share/php5/PEAR/doc/HTTP_WebDAV_Server", "README")
def install(): pisitools.insinto("/usr/share/php5/PEAR/Archive", "Archive/Tar.php") pisitools.insinto("/usr/share/php5/PEAR/doc/Archive_Tar", "docs/*")
def install(): pisitools.dobin("lpc21isp") pisitools.insinto("/usr/include/", "*.h") pisitools.dodoc("README", "lgpl-3.0.txt", "gpl.txt")
def install(): pisitools.insinto("/usr/local", "./local/*") pisitools.insinto("/usr/lib/", "./lib64/libbrscandec3.so.1.0.0") pisitools.insinto("/usr/lib/", "./lib64/sane/libsane-brother3.so.1.0.7") pisitools.insinto("/usr/lib/sane/", "./lib64/libbrscandec3.so.1.0.0") pisitools.insinto("/usr/lib/sane/", "./lib64/sane/libsane-brother3.so.1.0.7") pisitools.insinto("/usr/bin/", "./local/Brother/sane/brsaneconfig3*")
def install(): pisitools.insinto("/usr/share/VSCode-linux-x64", "./*")
def install(): if not get.buildTYPE() == 'emul32': # Kernel driver pisitools.insinto("/lib/modules/%s/extra" % KDIR, "kernel/nvidia.ko") pisitools.insinto("/lib/modules/%s/extra" % KDIR, "kernel/nvidia-drm.ko") pisitools.insinto("/lib/modules/%s/extra" % KDIR, "kernel/nvidia-uvm.ko") pisitools.insinto("/lib/modules/%s/extra" % KDIR, "kernel/nvidia-modeset.ko") # Command line tools and their man pages pisitools.dobin("nvidia-smi") pisitools.doman("nvidia-smi.1.gz") pisitools.dobin("nvidia-debugdump") pisitools.dobin("nvidia-xconfig") pisitools.doman("nvidia-xconfig.1.gz") pisitools.dobin("nvidia-bug-report.sh") pisitools.dobin("nvidia-cuda-mps-server") pisitools.dobin("nvidia-cuda-mps-control") pisitools.doman("nvidia-cuda-mps-control.1.gz") pisitools.dobin("nvidia-modprobe") pisitools.doman("nvidia-modprobe.1.gz") pisitools.dobin("nvidia-persistenced") pisitools.doman("nvidia-persistenced.1.gz") pisitools.dobin("nvidia-settings") pisitools.doman("nvidia-settings.1.gz") ### Libraries # 32-bit libraries if get.buildTYPE() == 'emul32': pisitools.dolib("32/libGL.so.1.7.0", nvlibdir) pisitools.dosym("libGL.so.1.7.0", "%s/libGL.so.1.2.0" % nvlibdir) pisitools.dosym("libGL.so.1.7.0", "%s/libGL.so.1" % nvlibdir) pisitools.dosym("libGL.so.1.7.0", "%s/libGL.so" % nvlibdir) pisitools.dolib("32/libEGL.so.1.1.0", nvlibdir) #pisitools.dosym("%s/libEGL.so.1.1.0" % nvlibdir, "%s/libEGL.so.1.1.0" % libdir) #pisitools.dosym("%s/libEGL.so.1.1.0" % nvlibdir, "%s/libEGL.so.1.0.0" % nvlibdir) #pisitools.dosym("%s/libEGL.so.1.1.0" % nvlibdir, "%s/libEGL.so.1" % nvlibdir) #pisitools.dosym("%s/libEGL.so.1.1.0" % nvlibdir, "%s/libEGL.so" % nvlibdir) pisitools.dolib("32/libEGL_nvidia.so.%s" % version, libdir) pisitools.dosym("libEGL_nvidia.so.%s" % version, "%s/libEGL_nvidia.so.1" % libdir) pisitools.dosym("libEGL_nvidia.so.%s" % version, "%s/libEGL_nvidia.so" % libdir) pisitools.dolib("32/libGLESv1_CM_nvidia.so.%s" % version, libdir) pisitools.dolib("32/libGLESv2_nvidia.so.%s" % version, libdir) pisitools.dolib("32/libnvidia-compiler.so.%s" % version, libdir) pisitools.dosym("libnvidia-compiler.so.%s" % version, "%s/libnvidia-compiler.so.1" % libdir) pisitools.dosym("libnvidia-compiler.so.%s" % version, "%s/libnvidia-compiler.so" % libdir) pisitools.dolib("32/libOpenCL.so.1.0.0", libdir) pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so.1" % libdir) pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so" % libdir) pisitools.dolib("32/libnvidia-opencl.so.%s" % version, libdir) pisitools.dosym("libnvidia-opencl.so.%s" % version, "%s/libnvidia-opencl.so.1" % libdir) pisitools.dosym("libnvidia-opencl.so.1", "%s/libnvidia-opencl.so" % libdir) pisitools.dolib("32/libcuda.so.%s" % version, libdir) pisitools.dosym("libcuda.so.%s" % version, "%s/libcuda.so.1" % libdir) pisitools.dosym("libcuda.so.1", "%s/libcuda.so" % libdir) pisitools.dolib("32/libnvcuvid.so.%s" % version, libdir) pisitools.dosym("libnvcuvid.so.%s" % version, "%s/libnvcuvid.so.1" % libdir) pisitools.dosym("libnvcuvid.so.1", "%s/libnvcuvid.so" % libdir) pisitools.dolib("32/libnvidia-ml.so.%s" % version, libdir) pisitools.dosym("libnvidia-ml.so.%s" % version, "%s/libnvidia-ml.so.1" % libdir) for lib in ("eglcore", "encode", "fatbinaryloader", "fbc", "glcore", "glsi", \ "glvkspirv", "ifr", "opticalflow", "ptxjitcompiler", "tls", "allocator" ): pisitools.dolib("32/libnvidia-%s.so.%s" % (lib, version), libdir) pisitools.dosym("libnvidia-%s.so.%s" % (lib, version), "%s/libnvidia-%s.so.1" % (libdir, lib)) pisitools.dosym("libnvidia-%s.so.%s" % (lib, version), "%s/libnvidia-%s.so" % (libdir, lib)) pisitools.dolib("32/libvdpau_nvidia.so.%s" % version, "%s/vdpau" % libdir) pisitools.dosym("libvdpau_nvidia.so.%s" % version, "%s/libvdpau_nvidia.so" % libdir) pisitools.dolib("32/libGLX_nvidia.so.%s" % version, libdir) pisitools.dosym("libGLX_nvidia.so.%s" % version, "%s/libGLX_indirect.so.0" % libdir) pisitools.dosym("libGLX_nvidia.so.%s" % version, "%s/libGLX_indirect.so" % libdir) pisitools.dosym("libGLX_nvidia.so.%s" % version, "%s/libGLX_nvidia.so.0" % libdir) pisitools.dosym("libGLX_nvidia.so.%s" % version, "%s/libGLX_nvidia.so" % libdir) pisitools.dolib("32/libGLdispatch.so.0", libdir) pisitools.dosym("libGLdispatch.so.0", "%s/ibGLdispatch.so" % libdir) pisitools.dolib("32/libGLX.so.0", libdir) pisitools.dosym("libGLX.so.0", "%s/libGLX.so" % libdir) pisitools.dolib("32/libOpenGL.so.0", libdir) pisitools.dosym("libOpenGL.so.0", "%s/libOpenGL.so" % libdir) else: # OpenGl library pisitools.dolib("libGL.so.1.7.0", nvlibdir) pisitools.dosym("libGL.so.1.7.0", "%s/libGL.so.1.2.0" % nvlibdir) pisitools.dosym("libGL.so.1.7.0", "%s/libGL.so.1" % nvlibdir) pisitools.dosym("libGL.so.1.7.0", "%s/libGL.so" % nvlibdir) pisitools.dolib("libEGL.so.1.1.0", nvlibdir) #pisitools.dosym("%s/libEGL.so.1.1.0" % nvlibdir, "%s/libEGL.so.1.1.0" % libdir) #pisitools.dosym("%s/libEGL.so.1.1.0" % nvlibdir, "%s/libEGL.so.1.0.0" % nvlibdir) #pisitools.dosym("%s/libEGL.so.1.1.0" % nvlibdir, "%s/libEGL.so.1" % nvlibdir) #pisitools.dosym("%s/libEGL.so.1.1.0" % nvlibdir, "%s/libEGL.so" % nvlibdir) pisitools.dolib("libEGL_nvidia.so.%s" % version, libdir) pisitools.dolib("libEGL.so.%s" % version, libdir) pisitools.dolib("libGLESv1_CM_nvidia.so.%s" % version, libdir) pisitools.dolib("libGLESv2_nvidia.so.%s" % version, libdir) pisitools.dolib("libGLdispatch.so.0", libdir) pisitools.dosym("libGLdispatch.so.0", "%s/libGLdispatch.so" % libdir) pisitools.dolib("libGLX.so.0", libdir) pisitools.dosym("libGLX.so.0", "%s/libGLX.so" % libdir) pisitools.dolib("libOpenGL.so.0", libdir) pisitools.dosym("libOpenGL.so.0", "%s/libOpenGL.so" % libdir) # OpenCL pisitools.insinto("/etc/OpenCL/vendors", "nvidia.icd") pisitools.dolib("libnvidia-compiler.so.%s" % version, libdir) pisitools.dosym("libnvidia-compiler.so.%s" % version, "%s/libnvidia-compiler.so.1" % libdir) pisitools.dosym("libnvidia-compiler.so.%s" % version, "%s/libnvidia-compiler.so" % libdir) pisitools.dolib("libOpenCL.so.1.0.0", libdir) pisitools.dosym("libOpenCL.so.1.0.0", "%s/libOpenCL.so.1.0" % libdir) pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so.1" % libdir) pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so" % libdir) pisitools.dolib("libnvidia-opencl.so.%s" % version, libdir) pisitools.dosym("libnvidia-opencl.so.%s" % version, "%s/libnvidia-opencl.so.1" % libdir) pisitools.dosym("libnvidia-opencl.so.1", "%s/libnvidia-opencl.so" % libdir) # CUDA pisitools.dolib("libcuda.so.%s" % version, libdir) pisitools.dosym("libcuda.so.%s" % version, "%s/libcuda.so.1" % libdir) pisitools.dosym("libcuda.so.1", "%s/libcuda.so" % libdir) pisitools.dolib("libnvcuvid.so.%s" % version, libdir) pisitools.dosym("libnvcuvid.so.%s" % version, "%s/libnvcuvid.so.1" % libdir) pisitools.dosym("libnvcuvid.so.1", "%s/libnvcuvid.so" % libdir) # NVML # Provides programmatic access to static information and monitoring # data for NVIDIA GPUs, as well as limited managment capabilities pisitools.dolib("libnvidia-ml.so.%s" % version, libdir) pisitools.dosym("libnvidia-ml.so.%s" % version, "%s/libnvidia-ml.so.1" % libdir) pisitools.dolib("libnvidia-cfg.so.%s" % version, libdir) pisitools.dosym("libnvidia-cfg.so.%s" % version, "%s/libnvidia-cfg.so.1" % libdir) pisitools.dolib("libnvoptix.so.%s" % version, libdir) pisitools.dosym("libnvoptix.so.%s" % version, "%s/libnvoptix.so.1" % libdir) pisitools.dosym("libnvoptix.so.%s" % version, "%s/libnvoptix.so" % libdir) pisitools.dolib("libnvidia-egl-wayland.so.1.1.4", libdir) pisitools.dosym("libnvidia-egl-wayland.so.1.1.4", "%s/libnvidia-egl-wayland.so.1" % libdir) pisitools.dosym("libnvidia-egl-wayland.so.1.1.4", "%s/libnvidia-egl-wayland.so" % libdir) # OpenGL core library and others for lib in ("allocator", "cbl", "eglcore", "encode", "fatbinaryloader", "fbc", "glcore", "glsi", \ "glvkspirv", "ifr", "opticalflow", "ptxjitcompiler", "rtcore", "tls" ): pisitools.dolib("libnvidia-%s.so.%s" % (lib, version), libdir) pisitools.dosym("libnvidia-%s.so.%s" % (lib, version), "%s/libnvidia-%s.so.1" % (libdir, lib)) pisitools.dosym("libnvidia-%s.so.%s" % (lib, version), "%s/libnvidia-%s.so" % (libdir, lib)) # VDPAU driver pisitools.dolib("libvdpau_nvidia.so.%s" % version, "%s/vdpau" % libdir) pisitools.dosym("libvdpau_nvidia.so.%s" % version, "%s/libvdpau_nvidia.so" % libdir) # X modules pisitools.dolib("nvidia_drv.so", "%s/modules/drivers" % xorglibdir) pisitools.dolib("libglxserver_nvidia.so.%s" % version, "%s/xorg/extensions" % nvlibdir) pisitools.dosym("libglxserver_nvidia.so.%s" % version, "%s/xorg/extensions/libglx.so.1" % nvlibdir) pisitools.dosym("libglxserver_nvidia.so.%s" % version, "%s/xorg/extensions/libglx.so" % nvlibdir) pisitools.dolib("libglxserver_nvidia.so.%s" % version, "%s/modules/extensions" % xorglibdir) pisitools.dosym("libglxserver_nvidia.so.%s" % version, "%s/modules/extensions/libglx.so.1" % xorglibdir) # Vulkan driver pisitools.dolib("libGLX_nvidia.so.%s" % version, libdir) pisitools.dosym("libGLX_nvidia.so.%s" % version, "%s/libGLX_indirect.so.0" % libdir) pisitools.dosym("libGLX_nvidia.so.%s" % version, "%s/libGLX_indirect.so" % libdir) pisitools.dosym("libGLX_nvidia.so.%s" % version, "%s/libGLX_nvidia.so.0" % libdir) pisitools.dosym("libGLX_nvidia.so.%s" % version, "%s/libGLX_nvidia.so" % libdir) pisitools.insinto("/etc/vulkan/icd.d", "nvidia_icd.json") pisitools.insinto("/etc/vulkan/icd.d", "nvidia_layers.json") pisitools.insinto("/usr/share/glvnd/egl_vendor.d", "10_nvidia.json") #pisitools.insinto("/usr/share/X11/xorg.conf.d", "nvidia-drm-outputclass.conf") # pisitools.insinto("/usr/share/nvidia", "nvidia-application-profiles-367.27-rc") # pisitools.insinto("/usr/share/nvidia", "nvidia-application-profiles-367.27-key-documentation") pisitools.insinto("/usr/share/pixmaps", "nvidia-settings.png") pisitools.dolib("libnvidia-gtk2.so.%s" % version, libdir) pisitools.dolib("libnvidia-gtk3.so.%s" % version, libdir) # Exit time for emul32 build #if get.buildTYPE() == 'emul32': #pisitools.insinto(datadir, "ld.so.conf", "32bit-ld.so.conf") #return pisitools.insinto(datadir, "ld.so.conf") pisitools.insinto(datadir, "XvMCConfig") # Documentation docdir = "xorg-video-%s" % driver_dir_name pisitools.dodoc("LICENSE", "NVIDIA_Changelog", "README.txt", destDir=docdir) pisitools.dohtml("html/*", destDir=docdir)
def install(): pisitools.insinto("/usr/share/java", "bsh-2.0b4.jar", "bsh.jar")
def install(): pisitools.dolib("libGLee.so") pisitools.insinto("/usr/include/GL", "GLee.h") pisitools.dodoc("extensionList.txt", "readme.txt")
def install(): if not get.buildTYPE() == 'emul32': # Kernel driver pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR, "kernel/nvidia.ko") pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR, "kernel/uvm/nvidia-uvm.ko") # Command line tools and their man pages pisitools.dobin("nvidia-smi") pisitools.doman("nvidia-smi.1.gz") pisitools.dobin("nvidia-persistenced") ### Libraries # OpenGl library pisitools.dolib("libGL.so.%s" % version, nvlibdir) pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1.2.0" % nvlibdir) # OpenCL #pisitools.dolib("libOpenCL.so.1.0.0", libdir) #pisitools.dosym("libOpenCL.so.1.0.0", "%s/libOpenCL.so.1.0" % libdir) #pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so.1" % libdir) pisitools.dolib("libnvidia-opencl.so.%s" % version, libdir) pisitools.dosym("libnvidia-opencl.so.%s" % version, "%s/libnvidia-opencl.so.1" % libdir) pisitools.dosym("libnvidia-opencl.so.1", "%s/libnvidia-opencl.so" % libdir) # CUDA pisitools.dolib("libcuda.so.%s" % version, libdir) pisitools.dosym("libcuda.so.%s" % version, "%s/libcuda.so.1" % libdir) pisitools.dosym("libcuda.so.1", "%s/libcuda.so" % libdir) pisitools.dolib("libnvcuvid.so.%s" % version, libdir) pisitools.dosym("libnvcuvid.so.%s" % version, "%s/libnvcuvid.so.1" % libdir) pisitools.dosym("libnvcuvid.so.1", "%s/libnvcuvid.so" % libdir) # NVML # Provides programmatic access to static information and monitoring # data for NVIDIA GPUs, as well as limited managment capabilities pisitools.dolib("libnvidia-ml.so.%s" % version, libdir) pisitools.dosym("libnvidia-ml.so.%s" % version, "%s/libnvidia-ml.so.1" % libdir) pisitools.dolib("libnvidia-cfg.so.%s" % version, libdir) pisitools.dosym("libnvidia-cfg.so.%s" % version, "%s/libnvidia-cfg.so.1" % libdir) pisitools.dolib("libnvidia-compiler.so.%s" % version, libdir) pisitools.dosym("libnvidia-compiler.so.%s" % version, "%s/libnvidia-compiler.so.1" % libdir) # OpenGL core library and others for lib in ("glcore", "tls", "encode", "fbc", "glsi", "ifr", "eglcore"): pisitools.dolib("libnvidia-%s.so.%s" % (lib, version), libdir) pisitools.dosym("libnvidia-%s.so.%s" % (lib, version), "%s/libnvidia-%s.so.1" % (libdir, lib)) # VDPAU driver pisitools.dolib("libvdpau_nvidia.so.%s" % version, "%s/vdpau" % nvlibdir) pisitools.dosym( "../nvidia340/vdpau/libvdpau_nvidia.so.%s" % version, "%s/vdpau/libvdpau_nvidia.so.1" % nvlibdir.strip(driver_dir_name)) # X modules pisitools.dolib("nvidia_drv.so", "%s/modules/drivers" % nvlibdir) pisitools.dosym("%s/modules/drivers/nvidia_drv.so" % nvlibdir, "%s/modules/drivers/nvidia_drv.so" % xorglibdir) pisitools.dolib("libglx.so.%s" % version, "%s/modules/extensions" % nvlibdir) pisitools.dosym("libglx.so.%s" % version, "%s/modules/extensions/libglx.so" % nvlibdir) # Exit time for emul32 build if get.buildTYPE() == 'emul32': pisitools.insinto(datadir, "ld.so.conf", "32bit-ld.so.conf") return pisitools.insinto("/etc/OpenCL/vendors", "nvidia.icd") pisitools.insinto(datadir, "ld.so.conf") pisitools.insinto(datadir, "XvMCConfig") # Documentation docdir = "xorg-video-%s" % driver_dir_name pisitools.dodoc("LICENSE", "NVIDIA_Changelog", "README.txt", destDir=docdir) pisitools.dohtml("html/*", destDir=docdir)
def install(): pythonmodules.install() pisitools.dodoc("AUTHORS", "README", "COPYING") shelltools.chmod("test.py", 0644) pisitools.insinto(examples, "test.py")
def install(): pisitools.insinto("/usr/bin", "macfanctld") pisitools.insinto("/etc", "macfanctl.conf") pisitools.doman("macfanctld.1") pisitools.dodoc("README")
def install(): pisitools.insinto("/usr/share/hydrogen/data/demo_songs", "demo_songs/*") pisitools.insinto("/usr/share/hydrogen/data/drumkits", "drumkits/*")
def install(): pisitools.insinto("/usr/share/php5/PEAR/DB", "DataObject*") pisitools.insinto("/usr/share/php5/PEAR/doc/DB_DataObject", "docs/*")
def install(): pisitools.insinto("/usr/share/fonts/bitstream-vera/", "*.ttf") shelltools.chmod("%s/usr/share/fonts/bitstream-vera/*" % get.installDIR(), 0644) pisitools.dodoc("*.txt")
def install(): pisitools.insinto("/usr/share/enlightenment/data/themes/", "*.edj")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dodoc("CHANGES", "VERSION", "README") pisitools.insinto("/usr/share/doc/%s/samples" % get.srcTAG(), "samples/*")
def install(): pisitools.insinto("/usr", "usr/*") shelltools.makedirs("%s/var/lib/binfmts" % get.installDIR())
def install(): pisitools.insinto("/usr/share/icons", "elementary-xfce-darker")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.insinto(contrib, "contrib/*") pisitools.domove("%s/_cmus" % contrib, "/usr/share/zsh/site-functions/") pisitools.dodoc("AUTHORS", "COPYING", "README", "Doc/*.txt")
def install(): pisitools.insinto("/usr/share/WoP/wop", "*wop_padpack.pk3") pisitools.dohtml("readme/*", "readme.html")
def install(): shelltools.cd("build") pisitools.insinto("/usr/lib", "dist/lib/*.so", sym=False) pisitools.insinto("/usr/include/nspr", "dist/include/nspr/*.h", sym=False) pisitools.insinto("/usr/include/nspr/obsolete", "dist/include/nspr/obsolete/*.h", sym=False) pisitools.insinto("/usr/include/nspr/private", "dist/include/nspr/private/*.h", sym=False) # Fix permissions of headers, they're 0640 by default shelltools.chmod("%s/usr/include/nspr/*.h" % get.installDIR(), 0644) shelltools.chmod("%s/usr/include/nspr/*/*.h" % get.installDIR(), 0644) pisitools.insinto("/usr/bin", "config/nspr-config", sym=False) pisitools.insinto("/usr/lib/pkgconfig", "config/nspr.pc", sym=False)
def install(): for dirs in ["bin", "include", "lib"]: pisitools.insinto("/usr", dirs) pisitools.dohtml("doc/*") pisitools.dodoc("COPYRIGHT", "README*")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dodoc("AUTHORS", "ChangeLog", "README*", "THANKS") pisitools.insinto("/%s/%s/examples/" % (get.docDIR(), get.srcNAME()), "examples/*.c")
def install(): pisitools.insinto("/lib/modules/%s/extra" % get.curKERNEL(), "*.ko") pisitools.dodoc("dynctrl.txt")
def install(): pisitools.insinto("%s/share/apps/kdm/themes/pardus/" % get.kdeDIR(), "./*")
def install(): pisitools.insinto("/usr/share/fonts/inconsolata", "*.otf")
def install(): pisitools.insinto("/", "usr") pisitools.removeDir("/usr/share/lintian")
def install(): pisitools.insinto("/", "usr") pisitools.dosym("/usr/share/spotify/spotify.desktop", "/usr/share/applications/spotify.desktop")
def install(): pisitools.insinto("/usr/lib/ladspa", "plugins/*.so") pisitools.dodoc("README") pisitools.dohtml("doc/*")
def install(): autotools.rawInstall("-C avahi-qt DESTDIR=%s" % get.installDIR()) pisitools.insinto("/usr/lib/pkgconfig", "avahi-qt4.pc")