void-packages/srcpkgs/dtach/template

32 lines
963 B
Text

# Template file for 'dtach'
pkgname=dtach
version=0.8
revision=1
short_desc="dtach is a tiny program that emulates the detach feature of screen"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://dtach.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=16614ebddf8ab2811d3dc0e7f329c7de88929ac6a9632d4cb4aef7fe11b8f2a9
long_desc="
dtach is a tiny program that emulates the detach feature of screen, allowing
you to run a program in an environment that is protected from the controlling
terminal and attach to it later. dtach does not keep track of the contents of
the screen, and thus works best with programs that know how to redraw
themselves."
do_build() {
./configure --prefix=/usr
make ${makejobs}
}
do_install() {
install -Dm755 dtach "${DESTDIR}/usr/bin/dtach"
install -Dm644 dtach.1 "${DESTDIR}/usr/share/man/man1/dtach.1"
}
dtach_package() {
pkg_install() {
vmove usr
}
}