wok-current view screen/receipt @ rev 8504
gcc+gcj: remove build dir after packing files, don't exit but return
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:18:58 2011 +0100 (2011-02-12) |
parents | 0f72221f338d |
children | f28dd552c0d4 |
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 _pkg/usr/share/terminfo
22 tic -o $PWD/_pkg/usr/share/terminfo terminfo/screeninfo.src
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share $fs/etc
29 cp $src/etc/screenrc $fs/etc
30 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
31 cp -a $_pkg/usr/share/screen $fs/usr/share
32 }