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