wok-6.x annotate dtach/receipt @ rev 15878

tinc: fix config path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 05 10:25:27 2014 +0000 (2014-02-05)
parents 20bde378c097
children 684b86356e87
rev   line source
pascal@1688 1 # SliTaz package receipt.
pascal@1688 2
pascal@1688 3 PACKAGE="dtach"
pascal@1688 4 VERSION="0.8"
pascal@1688 5 CATEGORY="system-tools"
pascal@1688 6 SHORT_DESC="Emulates the detach feature of screen."
pascal@1688 7 MAINTAINER="christophe.paris@free.fr"
pascal@15579 8 LICENSE="GPL2"
pascal@1688 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1688 10 WEB_SITE="http://dtach.sourceforge.net/"
pascal@1688 11 WGET_URL="http://downloads.sourceforge.net/dtach/$TARBALL"
pascal@1688 12
pascal@1688 13 # Rules to configure and make the package.
pascal@1688 14 compile_rules()
pascal@1688 15 {
pascal@1688 16 cd $src
pascal@1688 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1688 18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1688 19 make || return 1
pascal@1688 20 # no install rules, let's do it by hand
pascal@15579 21 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
pascal@15579 22 cp dtach $DESTDIR/usr/bin
pascal@15579 23 cp dtach.1 $DESTDIR/usr/share/man/man1
pascal@1688 24 }
pascal@1688 25
pascal@1688 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1688 27 genpkg_rules()
pascal@1688 28 {
pascal@1688 29 mkdir -p $fs/usr/bin
pascal@15579 30 cp -a $install/usr/bin $fs/usr
pascal@1688 31 }