screen add repo

This commit is contained in:
aydemir
2015-08-07 18:16:57 +03:00
parent 8be1bec0dc
commit d31cce0b3e
7 changed files with 487 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
shelltools.export("LC_ALL", "POSIX")
def setup():
autotools.configure("--enable-pam \
--with-socket-dir=/run/screen \
--with-sys-screenrc=/etc/screenrc \
--with-pty-mode=0620 \
--with-pty-group=5 \
--enable-rxvt_osc \
--enable-colors256")
def build():
autotools.make()
def install():
pisitools.dobin("screen")
pisitools.dodir("/run/screen")
pisitools.dodir("/etc/pam.d")
pisitools.insinto("/usr/share/terminfo", "terminfo/screencap")
pisitools.insinto("/usr/share/screen/utf8encodings", "utf8encodings/??")
shelltools.chmod("%s/run/screen" % get.installDIR(), 0775)
pisitools.doman("doc/screen.1")
pisitools.dodoc("README", "ChangeLog", "TODO", "NEWS*", "doc/FAQ", "doc/README.DOTSCREEN")