wok-6.x view screen/receipt @ rev 8695

improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 17 23:04:20 2011 +0100 (2011-02-17)
parents 5a2ca8500e9a
children cbe6992bdda8
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 DEPENDS="elfutils"
13 BUILD_DEPENDS="ncursesw-extra"
14 SUGGESTED="screen-terminfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure && make && make -j1 DESTDIR=$DESTDIR install || return 1
21 mkdir -p $DESTDIR/usr/share/terminfo
22 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
23 mkdir -p $DESTDIR/etc
24 cp $src/etc/screenrc $DESTDIR/etc
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share
31 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
32 cp -a $_pkg/usr/share/screen $fs/usr/share
33 }