void-packages/srcpkgs/dtach/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

30 lines
958 B
Text

# Template file for 'dtach'
pkgname=dtach
version=0.8
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
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"
}