wok-next diff dtach/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
parents
children eb8067417980
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dtach/receipt	Sun Mar 28 17:16:33 2010 +0200
     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 +}