wok-current view screen/receipt @ rev 7302
Removed tazpkg genpkg from alot of packages that don't need them since there just repackaging them 2nd time.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 17 03:47:52 2010 +0000 (2010-11-17) |
parents | e620297fff00 |
children | 9503ee00896a |
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 }