Esempio n. 1
0
def install():
    autotools.install()

    for lang in shelltools.ls("debian/po/*.po"):
        inarytools.domo(lang,
                        shelltools.baseName(lang).replace(".po", ""),
                        "libpaper.mo")

    inarytools.dodoc("README", "ChangeLog")
Esempio n. 2
0
def install():
    if get.buildTYPE()=="rebuild_python":
        autotools.rawInstall("DESTDIR={}/python2".format(get.installDIR()))
        shelltools.move("{}/python2/usr/lib/python2*".format(get.installDIR()),
         "{}/usr/lib/".format(get.installDIR()))
        shelltools.unlinkDir("{}/python2/".format(get.installDIR()))
        return

    autotools.install()

    # Create dictionary files
    #shelltools.system("cat /usr/share/cracklib/cracklib-small|%s/usr/sbin/cracklib-packer %s/usr/share/cracklib/pw_dict" % (get.installDIR(),get.installDIR()))

    inarytools.domo("po/tr.po","tr","cracklib.mo")
    inarytools.dodoc("ChangeLog", "README*", "NEWS", "COPYING.LIB", "AUTHORS")
Esempio n. 3
0
def install():
    if get.buildTYPE()=="rebuild_python":
        autotools.rawInstall("DESTDIR={}/python2".format(get.installDIR()))
        shelltools.move("{}/python2/usr/lib/python2*".format(get.installDIR()),
         "{}/usr/lib/".format(get.installDIR()))
        shelltools.unlinkDir("{}/python2/".format(get.installDIR()))
        return

    autotools.install()

    shelltools.system("install -v -m644 -D ../cracklib-words-2.9.7.gz \
                         {}/usr/share/dict/cracklib-words.gz".format(get.installDIR()))

    shelltools.system("gunzip -v {}/usr/share/dict/cracklib-words.gz".format(get.installDIR()))
    shelltools.system("ln -v -sf cracklib-words {}/usr/share/dict/words".format(get.installDIR()))
    shelltools.system("echo $(hostname) >>      {}/usr/share/dict/cracklib-extra-words".format(get.installDIR()))
    shelltools.system("install -v -m755 -d      {}/lib/cracklib".format(get.installDIR()))

    # Create dictionary files
    shelltools.system("create-cracklib-dict     {0}/usr/share/dict/cracklib-words \
                        {0}/usr/share/cracklib/pw_dict".format(get.installDIR()))

    inarytools.domo("po/tr.po","tr","cracklib.mo")
    inarytools.dodoc("ChangeLog", "README*", "NEWS", "COPYING.LIB", "AUTHORS")
Esempio n. 4
0
def install():
    inarytools.dosbin("mingetty", "/sbin")
    inarytools.doman("mingetty.8")
    inarytools.domo("tr.po", "tr", "mingetty.mo")

    inarytools.dodoc("COPYING")
Esempio n. 5
0
def install():
    inarytools.domo("po/tr.po", "tr", "mousepad.mo")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    inarytools.dodoc("AUTHORS", "COPYING", "NEWS", "README")