void-packages/srcpkgs/dtach/template

33 lines
963 B
Plaintext
Raw Normal View History

2011-06-24 01:36:07 +02:00
# Template file for 'dtach'
pkgname=dtach
version=0.8
revision=1
2011-06-24 01:36:07 +02:00
short_desc="dtach is a tiny program that emulates the detach feature of screen"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-24 01:36:07 +02:00
homepage="http://dtach.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
2011-06-24 01:36:07 +02:00
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() {
2011-06-26 21:40:03 +02:00
./configure --prefix=/usr
2011-06-24 01:36:07 +02:00
make ${makejobs}
}
do_install() {
2011-06-24 01:36:07 +02:00
install -Dm755 dtach "${DESTDIR}/usr/bin/dtach"
install -Dm644 dtach.1 "${DESTDIR}/usr/share/man/man1/dtach.1"
}
dtach_package() {
pkg_install() {
vmove usr
}
}