wok-6.x rev 1688
Add dtach
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 10 15:03:44 2008 +0000 (2008-11-10) |
parents | e53e6a788414 |
children | 381befc4ebd3 |
files | dtach/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dtach/receipt Mon Nov 10 15:03:44 2008 +0000 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dtach" 1.7 +VERSION="0.8" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Emulates the detach feature of screen." 1.10 +MAINTAINER="christophe.paris@free.fr" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://dtach.sourceforge.net/" 1.13 +WGET_URL="http://downloads.sourceforge.net/dtach/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.20 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.21 + make || return 1 1.22 + # no install rules, let's do it by hand 1.23 + mkdir -p $PWD/_pkg/usr/bin $PWD/_pkg/usr/share/man/man1 1.24 + cp dtach $PWD/_pkg/usr/bin 1.25 + cp dtach.1 $PWD/_pkg/usr/share/man/man1 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/bin 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 +}