27 lines
844 B
Bash
27 lines
844 B
Bash
# 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
|
|
}
|
|
}
|