def install(): inarytools.dodir("/usr/lib") autotools.rawInstall("-C make/linux PREFIX=/usr DESTDIR=%s" % get.installDIR()) pythonmodules.install() inarytools.insinto("/usr/include/", "include/*.h") inarytools.dodoc("COPYING", "MANIFEST", "README*")
def install(): shelltools.system("make -C unix DESTDIR=%s install" % get.installDIR()) # Collect private headers, 3rd party apps like Tile depends on this inarytools.dodir("/usr/include/tk-private/generic") inarytools.dodir("/usr/include/tk-private/unix") shelltools.copy("unix/*.h", "%s/usr/include/tk-private/unix" % get.installDIR()) shelltools.copy("generic/*.h", "%s/usr/include/tk-private/generic" % get.installDIR()) # Remove duplicated headers inarytools.remove("/usr/include/tk-private/generic/tk.h") inarytools.remove("/usr/include/tk-private/generic/tkDecls.h") inarytools.remove("/usr/include/tk-private/generic/tkPlatDecls.h") # Remove tmp path from tclConfig.sh inarytools.dosed("%s/usr/lib/tkConfig.sh" % get.installDIR(), "%s/unix" % get.curDIR(), "/usr/lib/") inarytools.dosed("%s/usr/lib/tkConfig.sh" % get.installDIR(), get.curDIR(), "/usr/include/tk-private") inarytools.dosym("wish8.6", "/usr/bin/wish") inarytools.dodoc("ChangeLog", "changes", "license.terms", "README.md")
def install(): shelltools.export("GOROOT_FINAL", "/usr/lib/go") shelltools.cd("%s/go-go1.13.4" % get.workDIR()) inarytools.dodir("/usr/lib/go") shelltools.system("cp -r api bin doc lib pkg src %s/usr/lib/go" % get.installDIR()) shelltools.system("chown -R root:root %s/usr" % get.installDIR()) inarytools.dosym("/usr/lib/go/bin/go", "/usr/bin/go") inarytools.dosym("/usr/lib/go/bin/gofmt", "/usr/bin/gofmt") inarytools.dosym("/usr/lib/go/doc", "/usr/share/doc/%s/doc" % get.srcNAME()) inarytools.dosym("/usr/lib/go/api", "/usr/share/doc/%s/api" % get.srcNAME()) shelltools.system("cp -r misc %s/usr/lib/go" % get.installDIR()) # remove testdata, which hit cave fix-linkage inarytools.remove("/usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec") inarytools.removeDir("/usr/lib/go/pkg/obj") # dirty fix thanks @erturk inarytools.removeDir("/usr/lib/go/pkg/linux_amd64") inarytools.dodoc("VERSION", "LICENSE", "PATENTS", "README*", "AUTHORS", "CONTRIBUTORS")
def install(): cmaketools.install("DESTDIR=%s benchdir_root=\"/usr/share/mysql\"" % get.installDIR()) # Config inarytools.insinto("/etc/mysql", "%s/usr/share/mysql/my-medium.cnf" % get.installDIR(), "my.cnf") inarytools.insinto( "/etc/mysql", "%s/%s/scripts/mysqlaccess.conf" % (get.workDIR(), get.srcDIR())) inarytools.insinto( "/usr/bin", "%s/%s/scripts/mysql_config" % (get.workDIR(), get.srcDIR())) # Data dir inarytools.dodir("/var/lib/mysql") # Documents inarytools.dodoc("%s/%s/support-files/my-*.cnf" % (get.workDIR(), get.srcDIR())) inarytools.dodoc("COPYING", "INSTALL-SOURCE", "README", "VERSION") # Remove not needed files inarytools.removeDir("/usr/data") inarytools.removeDir("/usr/mysql-test") inarytools.removeDir("/usr/sql-bench") inarytools.remove("/usr/share/man/man1/mysql-test-run.pl.1")
def install(): autotools.rawInstall("-j1 DESTDIR=%s%s" % (get.installDIR(), suffix)) #autotools.rawInstall("DESTDIR=%s" % get.installDIR()) # emul32 stop here if get.buildTYPE() == "emul32": shelltools.move("%s%s/lib32" % (get.installDIR(), suffix), "%s/lib32" % (get.installDIR())) shelltools.move("%s%s/usr/lib32" % (get.installDIR(), suffix), "%s/usr/lib32" % (get.installDIR())) for f in shelltools.ls("%s/usr/lib32/pkgconfig" % get.installDIR()): inarytools.dosed( "%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), "emul32", "usr") return #add link inarytools.dosym("/sbin/udevadm", "/bin/udevadm") # Create vol_id and scsi_id symlinks in /sbin probably needed by multipath-tools inarytools.dosym("/lib/udev/scsi_id", "/sbin/scsi_id") # Create /sbin/systemd-udevd -> /sbin/udevd sysmlink, we need it for MUDUR, do not touch this sysmlink. # inarytools.dosym("/lib/systemd/systemd-udevd", "/sbin/systemd-udevd") # Create /etc/udev/rules.d for backward compatibility inarytools.dodir("/etc/udev/rules.d") inarytools.dodir("/run/udev") # Add man files inarytools.doman("man/*.5", "man/*.7", "man/*.8") inarytools.dodoc("README*", "NOTES")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) inarytools.remove("/usr/bin/perl") # Conflicts with perl-Module-Build # inarytools.remove("/usr/bin/config_data") inarytools.dosym("/usr/bin/perl%s" % get.srcVERSION(), "/usr/bin/perl") # Perl5 library # NEEDS MODIFICATION FOR NEW VERSION inarytools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so") inarytools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5") inarytools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5.26") inarytools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5.26.1") # Docs inarytools.dodir("/usr/share/doc/%s/html" % get.srcNAME()) shelltools.system('LD_LIBRARY_PATH=%s ./perl installhtml \ --podroot="." \ --podpath="lib:ext:pod:vms" \ --recurse \ --htmldir="%s/usr/share/doc/%s/html"' % (get.curDIR(), get.installDIR(), get.srcNAME())) perlmodules.removePodfiles() perlmodules.removePacklist() inarytools.dodoc("Changes*", "Artistic", "Copying", "README", "AUTHORS")
def install(): if get.buildTYPE() == "emul32": autotools.rawInstall( "-C src \ lib_LTLIBRARIES=\"%s\" \ DESTDIR=%s" % (emul32_libs, get.installDIR()), "install-libLTLIBRARIES") autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-pkgconfigDATA") return autotools.rawInstall("DESTDIR=%s" % get.installDIR()) # Disable autospawn by default shelltools.system( "sed -e '/autospawn/iautospawn=yes' -i '%s/etc/pulse/client.conf'" % get.installDIR()) # Speed up pulseaudio shutdown # Lower resample quality, saves CPU shelltools.system("sed -e '/exit-idle-time/iexit-idle-time=0' \ -e '/resample-method/iresample-method=speex-float-0' \ -i '%s/etc/pulse/daemon.conf'" % get.installDIR()) # Needed for service.py inarytools.dodir("/run/pulse") inarytools.dodir("/var/lib/pulse") # HAL is no longer supported by default inarytools.removeDir("/etc/dbus-1") inarytools.dodoc("README", "LICENSE", "GPL", "LGPL") inarytools.dohtml("doxygen/html/*")
def install(): suffix = __getSuffix() # Dump kernel version under /etc/kernel dumpVersion() # Install kernel image inarytools.insinto("/boot/", "arch/x86/boot/bzImage", "kernel-{}".format(suffix)) # Install the modules # mod-fw= avoids firmwares from installing # Override DEPMOD= to not call depmod as it will be called # during module-init-tools' package handler autotools.rawInstall("INSTALL_MOD_PATH={}/".format(get.installDIR()), "DEPMOD=/bin/true modules_install mod-fw=") # Remove symlinks first inarytools.remove("/lib/modules/{}/source".format(suffix)) inarytools.remove("/lib/modules/{}/build".format(suffix)) # Install Module.symvers and System.map here too shutil.copy("Module.symvers", "{0}/lib/modules/{1}/".format(get.installDIR(), suffix)) shutil.copy("System.map", "{0}/lib/modules/{1}/".format(get.installDIR(), suffix)) # Create extra/ and updates/ subdirectories for _dir in ("extra", "updates"): inarytools.dodir("/lib/modules/{0}/{1}".format(suffix, _dir))
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) inarytools.dodir("/usr/lib/pkgconfig") inarytools.dodir("/usr/share/pkgconfig") inarytools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
def install(): kerneltools.install() # add objtool for external module building and enabled VALIDATION_STACK option inarytools.insinto( "/usr/src/linux-headers-%s-sulinos/tools/objtool" % get.srcVERSION(), "%s/tools/objtool/objtool" % get.curDIR()) # Install kernel headers needed for out-of-tree module compilation kerneltools.installHeaders() kerneltools.installLibcHeaders() # Generate some module lists to use within mkinitramfs shelltools.system("./generate-module-list %s/lib/modules/%s" % (get.installDIR(), kerneltools.__getSuffix())) #mkinitcpio default config inarytools.dodir("/etc/mkinitcpio.d") shelltools.touch("linux.preset") shelltools.echo( "linux.preset", "# mkinitcpio preset file for the 'linux' package\n" + 'ALL_config="/etc/mkinitcpio.conf"\n' + 'ALL_kver="/boot/kernel-%s"\n\n' % get.srcVERSION() + "PRESETS=('default' 'fallback') \n\n" + '#default_config="/etc/mkinitcpio.conf"\n' + 'default_image="/boot/initramfs-%s.img"\n' % get.srcVERSION() + '#default_options=""\n\n' + '#fallback_config="/etc/mkinitcpio.conf"\n' + 'fallback_image="/boot/initramfs-%s-fallback.img"\n' % get.srcVERSION() + 'fallback_options="-S autodetect"\n') inarytools.insinto("/etc/mkinitcpio.d", "linux.preset")
def install(): autotools.rawInstall("DESTDIR={}".format(get.installDIR())) inarytools.removeDir("/usr/share/devhelp") #move html docs to html doc dir inarytools.dodir("/usr/share/doc/{}/html".format(get.srcNAME())) inarytools.dodoc("AUTHORS", "README", "COPYING", "ChangeLog", "NEWS")
def install(): autotools.rawInstall("DESTDIR=\"%s\" \ SBINDIR=/sbin \ DOCDIR=/%s/%s \ MANDIR=/usr/share/man \ " % (get.installDIR(), get.docDIR(), get.srcNAME())) inarytools.dodir("/var/lib/arpd")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) inarytools.dodoc("COPYING*", "README", "AUTHORS", "ChangeLog") # create needed directory inarytools.dodir("/var/spool/rsyslog") inarytools.dodir("/var/empty/dev")
def install(): inarytools.dobin("makeself.sh") inarytools.dodir("/usr/share/man") inarytools.dodir("/usr/share/makeself") inarytools.dobin("makeself-header.sh", "/usr/share/makeself/") inarytools.doman("makeself.1") inarytools.dodoc("COPYING", "README*")
def install(): inarytools.dolib("libiniparser.so.1") inarytools.dosym("libiniparser.so.1", "/usr/lib/libiniparser.so") inarytools.dodir("/usr/include") inarytools.insinto("/usr/include", "src/*.h") inarytools.dodoc("README.md", "AUTHORS", "LICENSE")
def install(): # Install unicode.pf2 using downloaded font source. shelltools.system("./grub-mkfont -o unicode.pf2 unifont.bdf") # Create directory for grub.cfg file inarytools.dodir("/boot/grub2") inarytools.insinto("/boot/grub2", "unicode.pf2") # Insall our theme inarytools.insinto("/usr/share/grub/themes/", "themes/grub2-theme-breeze-5.13.1") #remove -r 0x0-0x7F entries to fix ugly fonts or find a suitable range parameter -r *** shelltools.system( "./grub-mkfont -o DejaVuSans-10.pf2 -r 0x0-0x7F -s 10 /usr/share/fonts/dejavu/DejaVuSans.ttf" ) shelltools.system( "./grub-mkfont -o DejaVuSans-12.pf2 -r 0x0-0x7F -s 12 /usr/share/fonts/dejavu/DejaVuSans.ttf" ) shelltools.system( "./grub-mkfont -o DejaVuSans-14.pf2 -r 0x0-0x7F -s 14 /usr/share/fonts/dejavu/DejaVuSans.ttf" ) shelltools.system( "./grub-mkfont -o DejaVuSans-16.pf2 -r 0x0-0x7F -s 16 /usr/share/fonts/dejavu/DejaVuSans.ttf" ) shelltools.system( "./grub-mkfont -o DejaVuSans-Bold-14.pf2 -r 0x0-0x7F -s 14 /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf" ) shelltools.system( "./grub-mkfont -o DejaVuSans-Mono-14.pf2 -r 0x0-0x7F -s 14 /usr/share/fonts/dejavu/DejaVuSansMono.ttf" ) shelltools.copy( "ascii.pf2", "%s/usr/share/grub/themes/grub2-theme-breeze-5.13.1" % get.installDIR()) # Do not install auto generated dejavu* fonts fonts = [ "DejaVuSans-10.pf2", "DejaVuSans-12.pf2", "DejaVuSans-14.pf2", "DejaVuSans-16.pf2", "DejaVuSans-Mono-14.pf2", "DejaVuSans-Bold-14.pf2" ] for font in fonts: shelltools.copy( font, "%s/usr/share/grub/themes/grub2-theme-breeze-5.13.1" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR()) inarytools.dodoc("ABOUT-NLS", "AUTHORS", "BUGS", "ChangeLog", "COPYING", "TODO", "README") shelltools.cd("../grub-%s-efi" % get.srcVERSION()) autotools.rawInstall("DESTDIR=%s/efi" % get.installDIR()) shelltools.copytree("/%s/efi/usr/lib/grub/x86_64-efi" % get.installDIR(), "%s/usr/lib/grub/x86_64-efi" % get.installDIR()) inarytools.removeDir("/efi")
def install(): shelltools.system( "./bk-7.3.2-x86_64-glibc27-linux.bin {}/opt/bitkeeper".format( get.installDIR())) inarytools.dodir("/usr/bin") inarytools.dosym("/opt/bitkeeper/bk", "/usr/bin/bk") inarytools.domove("/opt/bitkeeper/man", "/usr/share/") inarytools.domove("/usr/share/man/man1/patch.1", "/usr/share/man/man1/bk_patch.1")
def install(): inarytools.dodir("/etc/pam.d") autotools.rawInstall("install_prefix=%s" % get.installDIR()) # Remove webcollage its pr0n enabled inarytools.remove("/usr/libexec/xscreensaver/webcollage") inarytools.remove("/usr/share/man/man6/webcollage.*") inarytools.remove("/usr/share/xscreensaver/config/webcollage.xml")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) if get.buildTYPE() == "emul32": return inarytools.dodir("/etc/gcrypt") inarytools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README", "THANKS", "TODO")
def install(): shelltools.system("rm -r po/*") pythonmodules.install("--install-lib=/usr/lib/sulin", pyVer='3') inarytools.dosym("inary-cli", "/usr/bin/inary") inarytools.dodir("/var/lib/inary/info/") inarytools.dodir("/usr/lib/sulin")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s -C plugins" % get.installDIR()) inarytools.dodir("/etc/sasl2") inarytools.dodir("/run/saslauthd") inarytools.dohtml("doc/html/*") inarytools.dodoc("AUTHORS", "COPYING", "ChangeLog")
def install(): inarytools.dodir("/usr") autotools.rawInstall('DESTDIR="%s"' % get.installDIR()) # required by man inarytools.dosym("eqn", "/usr/bin/geqn") inarytools.dosym("tbl", "/usr/bin/gtbl") inarytools.dosym("soelim", "usr/bin/zsoelim") inarytools.dodoc("ChangeLog", "NEWS", "PROBLEMS", "PROJECTS", "README")
def install(): autotools.rawInstall('DESTDIR="%s"' % get.installDIR()) inarytools.insinto("/usr/include", "include/iptables.h") inarytools.insinto("/usr/include", "include/ip6tables.h") inarytools.insinto("/usr/include/libiptc", "include/libiptc/*.h") inarytools.dodir("/var/lib/iptables") inarytools.dodir("/etc/iptables")
def install(): scons.install("install WILL_DEAL_WITH_XDG_MYSELF=1 DESTDIR=%s" % get.installDIR()) inarytools.dodir("/usr/share/applications") inarytools.dosym("/usr/share/libffado/icons/hi64-apps-ffado.png", "/usr/share/pixmaps/ffado-mixer.png") inarytools.domove("/usr/man/", "/usr/share") inarytools.dodoc("AUTHORS", "ChangeLog", "LICENSE*", "TODO", "README")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) inarytools.dodir("/var/cache/man") # These are shipped with groff #inarytools.remove("/usr/bin/zsoelim") inarytools.removeDir("/lib/") inarytools.dodoc("README")
def install(): inarytools.dodir("/usr/share") autotools.rawInstall("DESTDIR=%s" % get.installDIR()) inarytools.domove("/usr/share/html/", "/usr/share/doc/%s/" % get.srcNAME()) inarytools.remove("/usr/lib/*.a") inarytools.dodoc("COPYING", "NEWS", "README")
def install(): inarytools.doman("crontab.1", "crontab.5", "cron.8") inarytools.dodoc("CHANGES", "CONVERSION", "FEATURES", "MAIL", "README", "THANKS") inarytools.dosbin("cron") inarytools.dobin("crontab") inarytools.dodir("/var/spool/cron/crontabs") inarytools.dodir("/etc/cron.d")
def install(): inarytools.dodir("/etc/pam.d") autotools.rawInstall("install_prefix=%s" % get.installDIR()) f=open("{}//etc/pam.d/xscreensaver".format(get.installDIR()),"w") f.write("# Begin /etc/pam.d/xscreensaver\n") f.write("auth include system-auth\n") f.write("account include system-account\n") f.write("# End /etc/pam.d/xscreensaver\n") f.close()
def install(): autotools.install() major = ".".join(get.srcVERSION().split(".")[:2]) inarytools.dodir("/etc/env.d") shelltools.echo("%s/etc/env.d/50guile" % get.installDIR(), 'GUILE_LOAD_PATH="/usr/share/guile/%s"' % major) inarytools.domove("/usr/lib/libguile-2.0.so.22.*.scm", "/usr/share/gdb/auto-load") inarytools.dodoc("AUTHORS", "ChangeLog", "HACKING", "NEWS", "README", "THANKS")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) inarytools.removeDir("/usr/share/devhelp") #move html docs to html doc dir inarytools.dodir("/usr/share/doc/%s/html" % get.srcNAME()) inarytools.domove("/usr/share/doc/%s-1.0/*" % get.srcNAME(), "/usr/share/doc/%s/html" % get.srcNAME()) inarytools.removeDir("/usr/share/doc/%s-1.0" % get.srcNAME()) inarytools.dodoc("AUTHORS", "README", "COPYING", "ChangeLog", "NEWS")