New package: libptytty-2.0

This commit is contained in:
Leah Neukirchen 2021-11-23 14:32:11 +01:00
parent f9986b5f82
commit ff27a4c3d3
3 changed files with 29 additions and 0 deletions

View file

@ -4069,3 +4069,4 @@ libbrial.so.3 brial-1.2.10_1
libbrial_groebner.so.3 brial-1.2.10_1
libm4ri-0.0.20200125.so m4ri-20200125_1
libm4rie-0.0.20200125.so m4rie-20200125_1
libptytty.so.0 libptytty-2.0_1

1
srcpkgs/libptytty-devel Symbolic link
View file

@ -0,0 +1 @@
libptytty

View file

@ -0,0 +1,27 @@
# Template file for 'libptytty'
pkgname=libptytty
version=2.0
revision=1
build_style=cmake
configure_args="-DTTY_GID_SUPPORT_EXITCODE=1 -DTTY_GID_SUPPORT_EXITCODE__TRYRUN_OUTPUT="
short_desc="Library for pty/tty/utmp/wtmp/lastlog handling"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://software.schmorp.de/pkg/libptytty.html"
distfiles="http://dist.schmorp.de/libptytty/libptytty-${version}.tar.gz"
checksum=8033ed3aadf28759660d4f11f2d7b030acf2a6890cb0f7926fb0cfa6739d31f7
if [ "$XBPS_TARGET_LIBC" = musl ]; then
configure_args+=" -DPT_WTMPX_FILE=\"/dev/null/wtmp\""
fi
libptytty-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}