wok-current diff screen/receipt @ rev 20376

nagios: update patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 13 10:34:15 2018 +0200 (2018-06-13)
parents 7896f0694ef6
children c7f226fe1c21
line diff
     1.1 --- a/screen/receipt	Sat Aug 10 21:12:16 2013 +0000
     1.2 +++ b/screen/receipt	Wed Jun 13 10:34:15 2018 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="screen"
     1.7 -VERSION="4.0.3"
     1.8 +VERSION="4.2.1"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Terminal multiplexer."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -15,31 +15,24 @@
    1.13  DEPENDS="elfutils"
    1.14  BUILD_DEPENDS="ncursesw-extra"
    1.15  
    1.16 -# http://fungi.yuggoth.org/vsp4s/	Vertical split ^A V
    1.17 -PATCH=http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2
    1.18 -EXTRA_SOURCE_FILES="$PATCH"
    1.19 -
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	cd $src
    1.24 -	[ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
    1.25 -		wget -P $SOURCES_REPOSITORY $PATCH
    1.26 -	bzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -p1
    1.27 -	./configure --with-sys-screenrc=/etc/screenrc $CONFIGURE_ARGS &&
    1.28 -	make && make -j1 DESTDIR=$DESTDIR install || return 1
    1.29 -	mkdir -p $DESTDIR/usr/share/terminfo
    1.30 -	tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
    1.31 -	mkdir -p $DESTDIR/etc
    1.32 -	cp $src/etc/screenrc $DESTDIR/etc
    1.33 +	./configure --with-sys-screenrc=/etc/screenrc \
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	make &&
    1.36 +	make -j1 DESTDIR=$DESTDIR install &&
    1.37 +	mkdir -p $DESTDIR/usr/share/terminfo &&
    1.38 +	tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
    1.39 +	mkdir -p $DESTDIR/etc &&
    1.40 +	cp -a $src/etc/screenrc $DESTDIR/etc
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46  	mkdir -p $fs/usr/bin $fs/usr/share
    1.47 +	cp -a $install/etc $fs
    1.48  	cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
    1.49  	cp -a $install/usr/share/screen $fs/usr/share
    1.50 -	cp -a $install/etc $fs
    1.51  }
    1.52 -