wok diff dtach/receipt @ rev 19926

postfix: dirty fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 21 10:31:31 2017 +0200 (2017-04-21)
parents 20bde378c097
children 684b86356e87
line diff
     1.1 --- a/dtach/receipt	Mon Nov 10 15:03:44 2008 +0000
     1.2 +++ b/dtach/receipt	Fri Apr 21 10:31:31 2017 +0200
     1.3 @@ -5,6 +5,7 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Emulates the detach feature of screen."
     1.6  MAINTAINER="christophe.paris@free.fr"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://dtach.sourceforge.net/"
    1.10  WGET_URL="http://downloads.sourceforge.net/dtach/$TARBALL"
    1.11 @@ -17,14 +18,14 @@
    1.12  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.13  	make || return 1
    1.14  	# no install rules, let's do it by hand
    1.15 -	mkdir -p $PWD/_pkg/usr/bin $PWD/_pkg/usr/share/man/man1
    1.16 -	cp dtach $PWD/_pkg/usr/bin
    1.17 -	cp dtach.1 $PWD/_pkg/usr/share/man/man1
    1.18 +	mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
    1.19 +	cp dtach $DESTDIR/usr/bin
    1.20 +	cp dtach.1 $DESTDIR/usr/share/man/man1
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26  	mkdir -p $fs/usr/bin
    1.27 -	cp -a $_pkg/usr/bin $fs/usr
    1.28 +	cp -a $install/usr/bin $fs/usr
    1.29  }