def install(): autotools.install() #pisitools.domove("/usr/bin/uuencode", "/usr/bin", "gmime-uuencode") #pisitools.domove("/usr/bin/uudecode", "/usr/bin", "gmime-uudecode") pisitools.dodoc("ChangeLog", "COPYING", "README", "TODO")
def install(): autotools.install() # remove static lib pisitools.remove("/usr/lib/libnewt.a") pisitools.dodoc("CHANGES", "COPYING")
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() for lang in shelltools.ls("debian/po/*.po"): pisitools.domo(lang, shelltools.baseName(lang).replace(".po", ""), "libpaper.mo") pisitools.dodoc("README", "ChangeLog")
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(): 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(): autotools.install("prefix=%(D)s/usr \ BINDIR=%(D)s/usr/bin \ LIBDIR=%(D)s/usr/lib \ CONFDIR=%(D)s/usr/share/mplayer \ DATADIR=%(D)s/usr/share/mplayer \ MANDIR=%(D)s/usr/share/man" % {"D": get.installDIR()}) # set the default skin for gui shelltools.copytree("default_skin", "%s/usr/share/mplayer/skins/default" % get.installDIR()) # codecs conf, not something user will interact with pisitools.insinto("/usr/share/mplayer", "etc/codecs.conf") # example dvb conf pisitools.insinto("/usr/share/mplayer", "etc/dvb-menu.conf") # just for fast access to conf pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf") pisitools.dosym("/etc/mencoder.conf", "/usr/share/mplayer/mencoder.conf") # install docs, tools, examples pisitools.dodoc("AUTHORS", "ChangeLog", "README") pisitools.insinto("/usr/share/doc/%s/" % get.srcTAG(), "TOOLS") pisitools.insinto("/usr/share/doc/%s/" % get.srcTAG(), "DOCS/tech") pythonmodules.fixCompiledPy("/usr/share/doc") # we will use our own desktop file and icon pisitools.remove("/usr/share/applications/mplayer.desktop") pisitools.remove("/usr/share/pixmaps/mplayer.xpm")
def install(): autotools.install() # Empty pisitools.removeDir("/usr/lib/libmcrypt") pisitools.dodoc("ChangeLog","COPYING.LIB","KNOWN-BUGS","NEWS","README")
def install(): autotools.install("prefix=%(D)s/usr \ BINDIR=%(D)s/usr/bin \ LIBDIR=%(D)s/usr/lib \ CONFDIR=%(D)s/usr/share/mplayer \ DATADIR=%(D)s/usr/share/mplayer \ MANDIR=%(D)s/usr/share/man" % {"D": get.installDIR()}) # set the default skin for gui shelltools.copytree("default_skin", "%s/usr/share/mplayer/skins/default" % get.installDIR()) # codecs conf, not something user will interact with pisitools.insinto("/usr/share/mplayer", "etc/codecs.conf") # example dvb conf pisitools.insinto("/usr/share/mplayer", "etc/dvb-menu.conf") # just for fast access to conf pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf") pisitools.dosym("/etc/mencoder.conf", "/usr/share/mplayer/mencoder.conf") # install docs, tools, examples pisitools.dodoc("AUTHORS", "Changelog", "README", "LICENSE") pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "TOOLS") pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "DOCS/tech") pythonmodules.fixCompiledPy("/usr/share/doc")
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(): autotools.install() pisitools.dodoc("mjpeg_howto.txt", "README", \ "PLANS", "NEWS", "README.AltiVec", \ "README.avilib", "README.DV", "README.glav", \ "README.lavpipe", "README.transist", "TODO", \ "HINTS", "BUGS", "ChangeLog", "AUTHORS", "CHANGES")
def install(): autotools.install() # conflict pisitools.remove("/usr/share/icons/hicolor/icon-theme.cache") pisitools.dodoc("README", "NEWS", "ChangeLog", "MAINTAINERS", "AUTHORS")
def install(): autotools.install() pisitools.removeDir("/usr/share/gtkmm-2.4") pisitools.removeDir("/usr/share/devhelp") pisitools.dodoc("ChangeLog","COPYING", "PORTING", "NEWS", "README")
def install(): kerneltools.install() # Dump kernel version into /etc/kernel/ kerneltools.dumpVersion() # Install kernel headers needed for out-of-tree module compilation # You can provide a list of extra directories from which to grab *.h files. kerneltools.installHeaders(extra=["drivers/media/dvb/dvb-core", "drivers/media/dvb/frontends", "drivers/media/video"]) # Drop /usr/include/scsi directory as it's shipped within glibc kerneltools.installLibcHeaders(excludes=["scsi"]) # Install kernel source kerneltools.installSource() # Clean module-init-tools related stuff kerneltools.cleanModuleFiles() # Build and install the new 'perf' tool autotools.make("V=1 -C tools/perf perf") pisitools.insinto("/usr/bin", "tools/perf/perf", "perf.%s-%s" % (get.srcNAME(), get.srcVERSION())) autotools.install("-C tools/perf/Documentation install-man mandir=%s/usr/share/man" % get.installDIR())
def install(): autotools.install() pisitools.insinto("/etc", "Docs/sample/gnokiirc") # install headers pisitools.insinto("/usr/include", "include/gnokii.h") pisitools.insinto("/usr/include/gnokii", "include/gnokii/*") # move xgnokii.1x to man1 directory and remove man1x pisitools.domove("/usr/share/man/man1x/xgnokii.1x", "/usr/share/man/man1", "xgnokii.1") pisitools.removeDir("/usr/share/man/man1x") # remove unused man directory pisitools.removeDir("/usr/man") # remove unused docs pisitools.removeDir("/usr/share/doc/gnokii/") # install docs pisitools.doman("Docs/man/*.1*", "Docs/man/*.8") pisitools.dodoc("Docs/README*", "Docs/CREDITS", "Docs/FAQ") # we will use our own desktop file and icon pisitools.remove("/usr/share/applications/xgnokii.desktop")
def install(): autotools.install() # Remove the static lib here pisitools.remove("/usr/lib/*.a") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
def install(): autotools.install("prefix=%s" % get.installDIR()) # This will be the new place for module-autoloading (systemd) pisitools.dodir("/etc/modules-load.d") pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO")
def install(): join = os.path.join install_dir = get.installDIR() work_dir = get.workDIR() erl_dir = join(install_dir, "/usr/lib/erlang") # install autotools.install() # fix paths for root, dirs, files in os.walk(install_dir): for f in files: if f.endswith(".beam"): continue f = join(root, f) pisitools.dosed(f, install_dir, "") # remove no longer needed file pisitools.remove("/usr/lib/erlang/Install") # Emacs erlang-mode erl_emacs_dir = join(work_dir, "lib/tools/emacs") for i in ("el", "elc"): pisitools.insinto("/usr/share/emacs/site-lisp/erlang", erl_emacs_dir + "/*." + i)
def install(): autotools.install("PREFIX=%s/usr" % get.installDIR()) pisitools.removeDir("/usr/share/doc/dosfstools/") pisitools.dodoc("COPYING", "ChangeLog", "doc/*") pisitools.dosym("/usr/sbin/mkdosfs", "/usr/bin/mkdosfs")
def install(): autotools.install() autotools.install("install-icons") pisitools.remove("/usr/share/emacs/site-lisp/w3m/*.elc") pisitools.dodoc("COPYING", "README", "NEWS", "ChangeLog")
def install(): # execute install target of build system shelltools.cd("Qt4/") autotools.make("all staticlib CC=\"%s\" CXX=\"%s\" LINK=\"%s\"" % (get.CC(), get.CXX(), get.CC())) pisitools.insinto("/%s/lib" % Qt4DIR, "libqscintilla2.so*") shelltools.cd("../designer-Qt4/") autotools.make("DESTDIR=\"%s/%s/plugins/designer\"" % (get.installDIR(), Qt4DIR)) # Get Makefile of qscintilla-python via sip shelltools.cd("../Python") pythonmodules.run("configure.py -p 4 -n ../Qt4 -o ../Qt4") # installs not managed by the build system shelltools.cd("../Qt4/") shelltools.makedirs("%s/%s/include" % (get.installDIR(), Qt4DIR)) shelltools.copytree("Qsci", "%s/%s/include/Qsci" % (get.installDIR(), Qt4DIR)) pisitools.insinto("%s/translations" % Qt4DIR, "qscintilla*.qm") shelltools.cd("../") pisitools.insinto("%s/plugins/designer" % Qt4DIR, "designer-Qt4/libqscintillaplugin.so") #build and install qscintilla-python shelltools.cd("Python") autotools.make() autotools.install("DESTDIR=%s" % get.installDIR()) shelltools.cd("..") pisitools.dohtml("doc/html-Qt4/") pisitools.insinto("/usr/share/doc/%s/Scintilla" % get.srcTAG(), "doc/Scintilla/*") pisitools.dodoc("ChangeLog", "LICENSE", "NEWS", "README")
def install(): autotools.install() pisitools.dodir("/etc/xdg/qtchooser") pisitools.dosym("qt4.conf", "/etc/xdg/qtchooser/default.conf") pisitools.dodoc("LICENSE.LGPL", "LGPL_EXCEPTION.txt")
def install(): autotools.install() pisitools.remove("/usr/lib/*.a") pisitools.removeDir("/usr/share/man/man2") pisitools.dodoc("CHANGES", "DESIGN")
def install(): autotools.install() pisitools.domove("/usr/share/pkgconfig/*.pc", "/usr/lib/pkgconfig/") pisitools.removeDir("/usr/share/pkgconfig") pisitools.dodoc("AUTHORS", "ChangeLog", "README", "NEWS")
def install(): pisitools.dodir("/usr/share") autotools.install() pisitools.dodoc("README.txt", "doc/*.txt") pisitools.dohtml("doc/html/")
def install(): pisitools.dodir("/usr/lib/cups/filter") pisitools.dodir("/usr/share/cups/model") autotools.install("DESTDIR=%s" % get.installDIR()) pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "THANKS", "TODO")
def install(): autotools.install() pisitools.remove("/usr/share/icons/hicolor/icon-theme.cache") # Empty files: NEWS pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
def install(): autotools.install() # Remove GUI stuff pisitools.removeDir("/usr/bin") pisitools.dodoc("README", "AUTHORS", "NEWS", "COPYING", "ChangeLog")
def install(): autotools.install() # This library is deprecated. Make its usage hard. pisitools.rename("/usr/lib/libXp.so", "libdeprecatedXp.so") pisitools.removeDir("/usr/lib/pkgconfig") pisitools.removeDir("/usr/share")
def install(): autotools.install() pisitools.insinto("/usr/include", "wvinternal.h") pisitools.remove("/usr/share/man/man1/wvConvert.1") pisitools.dosym("/usr/share/man/man1/wvWare.1", "/usr/share/man/man1/wvConvert.1")
def install(): autotools.install() pisitools.dodoc("ChangeLog", "COPYING")
def install(): autotools.install("DESTDIR=%s" % get.installDIR()) pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "INSTALL", "NEWS", "README", "THANKS") pisitools.dodir("/usr/share/doc/PyKDE-%s-%s/html" % (get.srcVERSION(),get.srcRELEASE())) shelltools.copy("doc/*","%s/usr/share/doc/PyKDE-%s-%s/html" % (get.installDIR(),get.srcVERSION(),get.srcRELEASE()))
def install(): autotools.install()
def install(): autotools.install() pisitools.dodoc("AUTHORS", "README", "COPYING", "ChangeLog")
def install(): autotools.install() pisitools.removeDir("/usr/share/doc/") pisitools.dodoc("AUTHORS", "CHANGES", "ChangeLog", "NEWS", "README")
def install(): autotools.install() pisitools.dodoc("AUTHORS", "COPYING", "README", "NEWS")
def install(): autotools.install() # Create symlinks for cc in ("gcc", "g++", "cc", "c++"): # , "clang" , "clang++" pisitools.dosym("../../../bin/ccache", "/usr/lib/ccache/bin/%s" % cc)
def install(): autotools.install() pisitools.remove("/usr/share/icons/hicolor/icon-theme.cache") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
def install(): autotools.install() pisitools.dodoc("Changelog", "README", "TODO", "*.txt")
def install(): autotools.install() pisitools.dodoc("AUTHORS", "COPYING", "README*", "NEWS") pisitools.remove("/usr/lib/libmovtar.a")
def install(): autotools.install() pisitools.dodoc("ABOUT-NLS", "AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README", "TODO")
def install(): autotools.install() pisitools.dohtml("doc/html/*") pisitools.dodoc("doc/yasli/*", "README", "CHANGES")
def install(): autotools.install() # Empty files: NEWS, README pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING")
def install(): autotools.install() pisitools.dodoc("ChangeLog", "COPYING", "NEWS", "README")
def install(): autotools.install() pisitools.dohtml("doc/*") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README", "TODO")
def install(): autotools.install() pisitools.dodoc("TODO", "README", "ChangeLog")
def install(): autotools.install() pisitools.dodoc("README", "LICENSE")
def install(): autotools.install("libexecdir=%s/usr/lib/find/usr/lib/find" % get.installDIR()) pisitools.dodoc("ChangeLog", "NEWS", "TODO", "README")
def install(): autotools.install() pisitools.dodoc("AUTHORS", "ChangeLog", "HACKING", "MAINTAINERS", "NEWS", "README", "TODO")
def install(): autotools.install() pisitools.dodoc("CREDITS", "ChangeLog", "README")
def install(): autotools.install() pisitools.dodoc("NEWS", "README", "ChangeLog", "AUTHORS")
def install(): autotools.install( "KLIB=/lib/modules/%s KMODPATH_ARG='INSTALL_MOD_PATH=%s' DEPMOD=/bin/true" % (KDIR, get.installDIR())) pisitools.dodoc("COPYRIGHT", "README")
def install(): autotools.install() pisitools.dodoc("README", "AUTHORS", "LICENSE", "ChangeLog")
def install(): autotools.install( "KLIB=/lib/modules/%s KMODPATH_ARG='INSTALL_MOD_PATH=%s'" % (KDIR, get.installDIR()))
def install(): autotools.install() pisitools.dodoc("README*", "UPGRADING", "ChangeLog", "NEWS", "COPYING", "ANNOUNCE", "ABOUT-NLS" ) pythonmodules.fixCompiledPy()
def install(): shelltools.export("MONO_SHARED_DIR", ".") autotools.install("-j1") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
def install(): # install texmf tree folders = [ "/usr/share", "/etc/texmf/web2c", "/etc/texmf/chktex", "/etc/texmf/dvips/config", "/etc/texmf/dvipdfm/config", "/etc/texmf/dvipdfmx", "/etc/texmf/tex/generic/config", "/etc/texmf/ttf2pk", "/etc/texmf/xdvi", "/etc/fonts/conf.avail" ] for dirs in folders: pisitools.dodir(dirs) pisitools.insinto("/usr/share", "texmf") pisitools.insinto("/etc/fonts/conf.avail/", "09-texlive-fonts.conf") # replace upstream texmf.cnf with ours pisitools.remove("/usr/share/texmf/web2c/texmf.cnf") pisitools.insinto("/etc/texmf/web2c/", "texmf.cnf") # the location of texmf.cnf is hard-wired to be under /usr/share/texmf/web2c # we make a symlink from /etc/texmf/web2c/texmf.cnf to the latter pisitools.dosym("/etc/texmf/web2c/texmf.cnf", "/usr/share/texmf/web2c/texmf.cnf") # fix location of TEXMFCACHE for luatools pisitools.dosed("%s/usr/share/texmf/web2c/texmfcnf.lua" % get.installDIR(), "texlive2010", "texlive") # remove aleph from fmtutil.cnf pisitools.dosed("%s/usr/share/texmf/web2c/fmtutil.cnf" % get.installDIR(), "^.*aleph.*$") # move man files to /usr/share/man, check for new man files at every update for man in ["1", "5"]: pisitools.domove("/usr/share/texmf/doc/man/man%s" % man, "/usr/share/man/") # move info files to /usr/share/info pisitools.domove("/usr/share/texmf/doc/info", "/usr/share") # copy config files to $TEXMFSYSCONFIG tree (defined in texmf.cnf) config_files = [ "/usr/share/texmf/chktex/chktexrc", "/usr/share/texmf/web2c/mktex.cnf", "/usr/share/texmf/web2c/updmap.cfg", "/usr/share/texmf/web2c/fmtutil.cnf", "/usr/share/texmf/dvips/config/config.ps", "/usr/share/texmf/dvipdfmx/dvipdfmx.cfg", "/usr/share/texmf/tex/generic/config/pdftexconfig.tex", "/usr/share/texmf/tex/generic/config/language.dat", "/usr/share/texmf/tex/generic/config/language.def", "/usr/share/texmf/ttf2pk/ttf2pk.cfg", "/usr/share/texmf/xdvi/XDvi" ] for share_file in config_files: etc_file = share_file.replace("/usr/share", "/etc") shelltools.copy("%s/%s" % (get.installDIR(), share_file), "%s/%s" % (get.installDIR(), etc_file)) # clean updmap.cfg pisitools.dosed("%s/etc/texmf/web2c/updmap.cfg" % get.installDIR(), "^(Map|MixedMap).*$") pisitools.dosed("%s/etc/texmf/web2c/updmap.cfg" % get.installDIR(), "^#! (Map|MixedMap).*$") ################################################################ ########### make install shelltools.cd("%s/source/build" % get.workDIR()) # prefix should be user defined, we don't need all files autotools.install("prefix=%s/source/build/usr texmf=%s/usr/share/texmf" % (get.workDIR(), get.installDIR())) shelltools.move("%s/source/build/usr/bin" % get.workDIR(), "%s/usr" % get.installDIR()) shelltools.move("%s/source/build/usr/lib" % get.workDIR(), "%s/usr" % get.installDIR()) shelltools.move("%s/source/build/usr/include" % get.workDIR(), "%s/usr" % get.installDIR()) # fix symlinks, some are incorrect # makefile patching is another way, but there are lot of scripts # pathing each makefile makes it much harder, for now this is a "simpler" solution for binary in shelltools.ls(get.installDIR() + "/usr/bin"): real_path = shelltools.realPath(get.installDIR() + "/usr/bin/" + binary) if "texmf" in real_path and not os.path.exists( real_path): # modify only if it is broken base_path = real_path.replace(get.installDIR() + "/usr", "") new_path = "/usr/share" + base_path shelltools.unlink(get.installDIR() + "/usr/bin/" + binary) pisitools.dosym(new_path, "/usr/bin/" + binary) # create symlinks for formats # shelltools.export("PATH", get.installDIR() + "/usr/bin") shelltools.system( "PATH=\"$PATH:%s/usr/bin\" texlinks -f %s/usr/share/texmf/web2c/fmtutil.cnf %s/usr/bin/" % (get.installDIR(), get.installDIR(), get.installDIR())) # remove symlinks to scripts that are not in texlive-bin or texlive-core: symlinks_to_remove = [ "authorindex", "ebong", "bibexport", "cachepic", "epspdf", "epspdftk", "fig4latex", "makeglossaries", "mathspic", "mkgrkindex", "pdfannotextractor", "perltex", "pst2pdf", "ps4pdf", "splitindex", "svn-multi", "htcontext", "htlatex", "htmex", "ht", "httexi", "httex", "htxelatex", "htxetex", "mk4ht", "ulqda", "vpe", "tlmgr" ] for symlink in symlinks_to_remove: pisitools.remove("/usr/bin/%s" % symlink) # remove files form disabled packages # we copy all man and info files into mandir. Disabling packages just remove binaries. # the remaining man and info files should be deleted manually # dvipng pisitools.remove("/usr/share/man/man1/dvipng.1") pisitools.remove("/usr/share/info/dvipng.info") pisitools.remove("/usr/share/man/man1/dvigif.1") # lcdf-typetools pisitools.remove("/usr/share/man/man1/t1rawafm.1") pisitools.remove("/usr/share/man/man1/cfftot1.1") pisitools.remove("/usr/share/man/man1/t1lint.1") pisitools.remove("/usr/share/man/man1/ttftotype42.1") pisitools.remove("/usr/share/man/man1/t1dotlessj.1") pisitools.remove("/usr/share/man/man1/mmpfb.1") pisitools.remove("/usr/share/man/man1/otftotfm.1") pisitools.remove("/usr/share/man/man1/otfinfo.1") pisitools.remove("/usr/share/man/man1/t1testpage.1") pisitools.remove("/usr/share/man/man1/mmafm.1") pisitools.remove("/usr/share/man/man1/t1reencode.1") # chktex pisitools.remove("/usr/share/man/man1/deweb.1") # dvi2tty pisitools.remove("/usr/share/man/man1/dvi2tty.1") # dvipdfm pisitools.remove("/usr/share/texmf/tex/latex/dvipdfm/dvipdfm.def") pisitools.remove("/usr/share/man/man1/dvipdfm.1") pisitools.remove("/usr/share/texmf/dvipdfm/config/config") # xdvik pisitools.remove("/usr/share/man/man1/xdvi.1") pisitools.remove("/usr/share/texmf/xdvi/xdvi.cfg") pisitools.remove("/usr/share/texmf/xdvi/XDvi") #ps2eps pisitools.remove("/usr/share/man/man1/bbox.1") pisitools.remove("/usr/share/man/man1/ps2eps.1")
def install(): autotools.install() pisitools.remove("/usr/lib/*.a") pisitools.dosed("%s/usr/bin/fltk-config" % get.installDIR(), "-Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort", "") pisitools.dosed("%s/usr/bin/fltk-config" % get.installDIR(), "libfltk.a", "libfltk.so")
def install(): autotools.install() pisitools.dodoc("LANGUAGE.HOWTO", "LICENSE", "README", "VERSION")