wok-6.x annotate screen/receipt @ rev 8540
Fix: Made sure to copy /etc/screenrc in compile_rules instead of genpkg_rules in screen. I also fixed screen-terminfo.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 13 04:45:30 2011 +0000 (2011-02-13) |
parents | 5a2ca8500e9a |
children | cbe6992bdda8 |
rev | line source |
---|---|
pascal@901 | 1 # SliTaz package receipt. |
pascal@901 | 2 |
pascal@901 | 3 PACKAGE="screen" |
pascal@2174 | 4 VERSION="4.0.3" |
pascal@901 | 5 CATEGORY="system-tools" |
pascal@901 | 6 SHORT_DESC="Terminal multiplexer." |
pascal@901 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@901 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@901 | 9 WEB_SITE="http://www.gnu.org/software/screen" |
pascal@901 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@2173 | 11 CONFIG_FILES="/etc/screenrc" |
gokhlayeh@8503 | 12 DEPENDS="elfutils" |
gokhlayeh@8342 | 13 BUILD_DEPENDS="ncursesw-extra" |
pascal@2174 | 14 SUGGESTED="screen-terminfo" |
pascal@901 | 15 |
pascal@901 | 16 # Rules to configure and make the package. |
pascal@901 | 17 compile_rules() |
pascal@901 | 18 { |
pascal@901 | 19 cd $src |
gokhlayeh@8342 | 20 ./configure && make && make -j1 DESTDIR=$DESTDIR install || return 1 |
slaxemulator@8540 | 21 mkdir -p $DESTDIR/usr/share/terminfo |
slaxemulator@8540 | 22 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src |
slaxemulator@8540 | 23 mkdir -p $DESTDIR/etc |
slaxemulator@8540 | 24 cp $src/etc/screenrc $DESTDIR/etc |
pascal@901 | 25 } |
pascal@901 | 26 |
pascal@901 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@901 | 28 genpkg_rules() |
pascal@901 | 29 { |
slaxemulator@8540 | 30 mkdir -p $fs/usr/bin $fs/usr/share |
pascal@901 | 31 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen |
pascal@901 | 32 cp -a $_pkg/usr/share/screen $fs/usr/share |
pascal@901 | 33 } |
pascal@901 | 34 |