wok-current annotate dtach/receipt @ rev 8875
cups, depmod, diffutils: restore busybox links in port_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 01:21:13 2011 +0100 (2011-02-27) |
parents | |
children | eb8067417980 |
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@1688 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1688 | 9 WEB_SITE="http://dtach.sourceforge.net/" |
pascal@1688 | 10 WGET_URL="http://downloads.sourceforge.net/dtach/$TARBALL" |
pascal@1688 | 11 |
pascal@1688 | 12 # Rules to configure and make the package. |
pascal@1688 | 13 compile_rules() |
pascal@1688 | 14 { |
pascal@1688 | 15 cd $src |
pascal@1688 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1688 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1688 | 18 make || return 1 |
pascal@1688 | 19 # no install rules, let's do it by hand |
pascal@1688 | 20 mkdir -p $PWD/_pkg/usr/bin $PWD/_pkg/usr/share/man/man1 |
pascal@1688 | 21 cp dtach $PWD/_pkg/usr/bin |
pascal@1688 | 22 cp dtach.1 $PWD/_pkg/usr/share/man/man1 |
pascal@1688 | 23 } |
pascal@1688 | 24 |
pascal@1688 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1688 | 26 genpkg_rules() |
pascal@1688 | 27 { |
pascal@1688 | 28 mkdir -p $fs/usr/bin |
pascal@1688 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1688 | 30 } |