wok view screen/receipt @ rev 3874
Apache: ensure pidfile is valid
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 10 13:16:15 2009 +0200 (2009-08-10) |
parents | 0dfb392a7619 |
children | 53e1828da719 |
line source
1 # SliTaz package receipt.
3 PACKAGE="screen"
4 VERSION="4.0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/screen"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 CONFIG_FILES="/etc/screenrc"
12 BUILD_DEPENDS="ncurses-extra"
13 SUGGESTED="screen-terminfo"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install || return 1
23 mkdir -p _pkg/usr/share/terminfo
24 tic -o $PWD/_pkg/usr/share/terminfo terminfo/screeninfo.src
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share $fs/etc
31 cp $src/etc/screenrc $fs/etc
32 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
33 cp -a $_pkg/usr/share/screen $fs/usr/share
34 for i in $(cd $WOK; ls -d screen-*)
35 do
36 tazwok genpkg $i
37 done
38 }