vp-build/srcpkgs/dtach/template

32 lines
985 B
Plaintext

# Template file for 'dtach'
pkgname=dtach
version=0.8
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=custom-install
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"
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."
Add_dependency run glibc
Add_dependency build glibc-devel
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"
}