wok-4.x diff dtach/receipt @ rev 3216

busybox/replay: fix patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 28 15:13:09 2009 +0200 (2009-05-28)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dtach/receipt	Thu May 28 15:13:09 2009 +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 +}