-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
27 lines (25 loc) · 844 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}
}