def install(): if get.buildTYPE()=="emul32": autotools.rawInstall("PREFIX=%s/emul32/usr" % get.installDIR()) inarytools.dolib("libbz2.so.%s" % libversion, "/lib32") inarytools.dosym("libbz2.so.%s" % libversion, "/lib32/libbz2.so") inarytools.dosym("libbz2.so.%s" % libversion, "/lib32/libbz2.so.1") inarytools.dosym("libbz2.so.%s" % libversion, "/lib32/libbz2.so.1.0") return autotools.rawInstall("PREFIX=%s/usr" % get.installDIR()) # No static libs inarytools.removeDir("/usr/lib") inarytools.domove("/usr/bin/", "/") inarytools.domove("/usr/man", "/usr/share") for link in ("/bin/bunzip2", "/bin/bzcat"): inarytools.remove(link) inarytools.dosym("bzip2", link) for wrong_link in ("/bin/bzcmp", "/bin/bzegrep", "/bin/bzfgrep", "/bin/bzless"): inarytools.remove(wrong_link) inarytools.dosym("bzgrep", "/bin/bzegrep") inarytools.dosym("bzgrep", "/bin/bzfgrep") inarytools.dosym("bzdiff", "/bin/bzcmp") inarytools.dosym("bzmore", "/bin/bzless") inarytools.dolib("libbz2.so.%s" % libversion, "/lib") inarytools.dosym("libbz2.so.%s" % libversion, "/lib/libbz2.so") inarytools.dosym("libbz2.so.%s" % libversion, "/lib/libbz2.so.1") inarytools.dosym("libbz2.so.%s" % libversion, "/lib/libbz2.so.1.0") inarytools.dohtml("manual.html") inarytools.dodoc("README", "CHANGES", "bzip2.txt")
def install(): #cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) inarytools.dolib("glm/*.so") inarytools.dolib("glm/*.a") inarytools.insinto("/usr/include", "glm") inarytools.dodoc("readme.md", "copying.txt", "doc/manual.pdf") inarytools.dohtml("doc/*")
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(): inarytools.dolib("libdjbfft.so.%s" % lib_version) inarytools.dosym("/usr/lib/libdjbfft.so.%s" % lib_version, "/usr/lib/libdjbfft.so") inarytools.dosym("/usr/lib/libdjbfft.so.%s" % lib_version, "/usr/lib/libdjbfft.so.0") for header in ["fftc4.h", "complex4.h", "real4.h"]: inarytools.insinto("/usr/include", header) inarytools.dodoc("CHANGES", "README", "TODO")
def install(): destDir="/usr/lib32" if get.buildTYPE() == "emul32" else "/usr/lib" inarytools.dolib("libjbig/libjbig.a", destinationDirectory = destDir, mode=755) inarytools.dolib("libjbig/libjbig85.a", destinationDirectory = destDir, mode=755) inarytools.dolib("libjbig/jbig.h", destinationDirectory = destDir, mode=755) inarytools.dolib("libjbig/jbig_ar.h", destinationDirectory = destDir, mode=755) inarytools.dolib("libjbig/jbig85.h", destinationDirectory = destDir, mode=755) if get.buildTYPE() == "emul32": inarytools.dobin("pbmtools/jbgtopbm") inarytools.dobin("pbmtools/pbmtojbg") inarytools.dobin("pbmtools/jbgtopbm85") inarytools.dobin("pbmtools/pbmtojbg85") inarytools.doman("pbmtools/jbgtopbm.1", "pbmtools/pbmtojbg.1") inarytools.dodoc("ANNOUNCE", "CHANGES", "COPYING", "TODO")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) # We should manually install the bindings :( inarytools.insinto("/usr/lib/python3.7/site-packages/", "src/swig/python/mlt.py") inarytools.dolib("src/swig/python/_mlt.so", "/usr/lib/python3.7/site-packages/") inarytools.insinto("/usr/lib/perl5/vendor_perl/{}/".format(get.curPERL()), "src/swig/perl/blib/lib/mlt.pm") inarytools.dolib( "src/swig/perl/blib/arch/auto/mlt/mlt.so", "/usr/lib/perl5/vendor_perl/{}/i686-linux-thread-multi/auto/mlt/". format(get.curPERL())) inarytools.dodoc("ChangeLog", "COPYING", "GPL*", "README")
def install(): shelltools.cd(NCURSESW) autotools.rawInstall("DESTDIR=%s" % get.installDIR()) LIB = "/usr/lib32" if get.buildTYPE() == "_emul32" else "/usr/lib" print(LIB) for lib in ["ncurses", "form", "panel", "menu"]: shelltools.echo("lib%s.so" % lib, "INPUT(-l%sw)" % lib) inarytools.dolib("lib%s.so" % lib, destinationDirectory=LIB) #inarytools.dosym("lib%sw.a" % lib, "%s/lib%s.a" % (LIB, lib)) inarytools.dosym("libncurses++w.a", "%s/libncurses++.a" % LIB) shelltools.copy("%s/usr/share/pkgconfig/" % get.installDIR(), "%s/%s" % (get.installDIR(), LIB)) for lib in ["ncurses", "ncurses++", "form", "panel", "menu"]: inarytools.dosym("%sw.pc" % lib, "%s/pkgconfig/%s.pc" % (LIB, lib)) shelltools.echo("libcursesw.so", "INPUT(-lncursesw)") #inarytools.dolib("libcursesw.so", destinationDirectory = LIB) #inarytools.dosym("libncurses.so", "%s/libcurses.so" % LIB) #inarytools.dosym("libncursesw.a", "%s/libcursesw.a" % LIB) #inarytools.dosym("libncurses.a", "%s/libcurses.a" % LIB) #for fix inarytools.dosym("libncursesw.so.6.2", "%s/libncursesw.so.5" % LIB) inarytools.dosym("libncurses.so.6.2", "%s/libncurses.so.5" % LIB) inarytools.dosym("libncurses.so.6.2", "%s/libtinfo.so.5" % LIB) inarytools.dosym("libpanelw.so.6.2", "%s/libpanelw.so.5" % LIB) inarytools.dosym("libformw.so.6.2", "%s/libformw.so.5" % LIB) inarytools.dosym("libmenuw.so.6.2", "%s/libmenuw.so.5" % LIB) shelltools.cd("../%s" % NCURSES) for lib in ["ncurses", "form", "panel", "menu"]: inarytools.dolib("lib/lib%s.so.%s" % (lib, get.srcVERSION()), destinationDirectory=LIB) inarytools.dosym("lib%s.so.%s" % (lib, get.srcVERSION()), "%s/lib%s.so.6" % (LIB, lib)) if get.buildTYPE() == "_emul32": inarytools.removeDir("/_emul32") return shelltools.cd(WORKDIR) shelltools.system("grep -B 100 '$Id' README > license.txt") inarytools.dodoc("ANNOUNCE", "NEWS", "README*", "TO-DO", "license.txt")
def install(): for app in ["tcpd", "tcpdchk", "tcpdmatch", "safe_finger", "try-from"]: inarytools.dosbin(app) inarytools.insinto("/usr/include", "tcpd.h") inarytools.dolib("libwrap.a") # FIXME: this seems not necessary anymore # inarytools.domove("libwrap.so", "libwrap.so.0.%s" % get.srcVERSION()) inarytools.dolib("libwrap.so.0.%s" % get.srcVERSION(), "/lib") inarytools.dosym("/lib/libwrap.so.0.%s" % get.srcVERSION(), "/lib/libwrap.so.0") inarytools.dosym("/lib/libwrap.so.0", "/lib/libwrap.so") libtools.gen_usr_ldscript("libwrap.so") inarytools.dosym("hosts_access.5", "/usr/share/man/man5/hosts.allow.5") inarytools.dosym("hosts_access.5", "/usr/share/man/man5/hosts.deny.5") inarytools.doman("*.3", "*.5", "*.8") inarytools.dodoc("BLURB", "CHANGES", "DISCLAIMER", "README*")