40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Template file for 'screen'
|
|
pkgname=screen
|
|
version=4.9.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--with-sys-screenrc=/etc/screenrc --enable-pam
|
|
--enable-colors256 --enable-rxvt_osc --enable-telnet
|
|
--enable-use-locale --with-socket-dir=/run/screens --with-pty-group=5"
|
|
hostmakedepends="automake"
|
|
makedepends="libutempter-devel ncurses-devel pam-devel"
|
|
conf_files="/etc/screenrc /etc/skel/.screenrc"
|
|
short_desc="GNU screen manager with VT100/ANSI terminal emulation"
|
|
maintainer="Frank Steinborn <steinex@nognu.de>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://www.gnu.org/s/screen/"
|
|
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=26cef3e3c42571c0d484ad6faf110c5c15091fbf872b06fa7aa4766c7405ac69
|
|
|
|
build_options="multiuser"
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
makedepends+=" libxcrypt-devel"
|
|
fi
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vinstall etc/etcscreenrc 0644 etc screenrc
|
|
vinstall etc/screenrc 0644 etc/skel .screenrc
|
|
vinstall ${FILESDIR}/screen 0644 etc/pam.d
|
|
|
|
if [ "$build_option_multiuser" ]; then
|
|
chmod 4755 ${DESTDIR}/usr/bin/screen-${version}
|
|
fi
|
|
|
|
vinstall $FILESDIR/20-screen.sh 644 etc/runit/core-services
|
|
}
|