add libptytty.
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import shelltools, cmaketools, pisitools, get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
cmaketools.configure("-B_build")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
shelltools.cd("_build")
|
||||||
|
cmaketools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.cd("_build")
|
||||||
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
|
pisitools.dodoc("../Changes")
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libptytty</Name>
|
||||||
|
<Homepage>http://software.schmorp.de/pkg/libptytty.html</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPL-2</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<PartOf>programming.library</PartOf>
|
||||||
|
<Summary>OS independent and secure pty/tty and utmp/wtmp/lastlog handling.</Summary>
|
||||||
|
<Description>Libptytty is a small library that offers pseudo-tty management in an OS-independent way. It was created out of frustration over the many differences of pty/tty handling in different operating systems for the use inside "rxvt-unicode".</Description>
|
||||||
|
<Archive sha1sum="ed0605e23615559139ed8526e1bfaebaf9a95c43" type="targz">
|
||||||
|
https://ftp.osuosl.org/pub/blfs/conglomeration/libptytty/libptytty-2.0.tar.gz
|
||||||
|
</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libptytty</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="man">/usr/share/man/man3</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/libptytty</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libptytty-devel</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libptytty</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2021-12-21</Date>
|
||||||
|
<Version>2.0</Version>
|
||||||
|
<Comment>First build.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user