wok-next view screen/receipt @ rev 10341
screen: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 02:29:02 2011 +0000 (2011-05-22) |
parents | bdfc447d18ac |
children | 731695dfaf97 |
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 SUGGESTED="screen-terminfo"
14 DEPENDS="elfutils"
15 BUILD_DEPENDS="ncursesw-extra"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --with-sys-screenrc=/etc/screenrc $CONFIGURE_ARGS &&
22 make && make -j1 DESTDIR=$DESTDIR install || return 1
23 mkdir -p $DESTDIR/usr/share/terminfo
24 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
25 mkdir -p $DESTDIR/etc
26 cp $src/etc/screenrc $DESTDIR/etc
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/share
33 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
34 cp -a $_pkg/usr/share/screen $fs/usr/share
35 cp -a $_pkg/etc $fs
36 }