wok-6.x diff vifm/receipt @ rev 21556

try gcc83 for vifm
author Hans-G?nter Theisgen
date Wed May 15 16:23:12 2019 +0100 (2019-05-15)
parents 7bc5e65f1caa
children 81f8a6522bcf
line diff
     1.1 --- a/vifm/receipt	Thu Dec 13 18:40:39 2018 +0100
     1.2 +++ b/vifm/receipt	Wed May 15 16:23:12 2019 +0100
     1.3 @@ -6,28 +6,35 @@
     1.4  SHORT_DESC="Vi File Manager."
     1.5  MAINTAINER="paul@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -DEPENDS="ncurses libmagic xorg-libX11 vim file"
     1.8 -BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim file"
     1.9 +WEB_SITE="http://vifm.sourceforge.net/"
    1.10 +
    1.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 -WEB_SITE="http://vifm.sourceforge.net/"
    1.13  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14  
    1.15 +DEPENDS="file libmagic ncurses vim xorg-libX11"
    1.16 +BUILD_DEPENDS="file gcc83 libmagic-dev ncurses-dev util-linux-whereis \
    1.17 +	vim xorg-libX11-dev"
    1.18 +
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -	./configure \
    1.23 -		--prefix=/usr \
    1.24 +	export	CC=gcc-83
    1.25 +	export	CXX=g++-83
    1.26 +	./configure		\
    1.27 +		--prefix=/usr	\
    1.28  	 	$CONFIGURE_ARGS &&
    1.29 -	make && make -j 1 DESTDIR=$DESTDIR install
    1.30 +	make &&
    1.31 +	make -j 1 DESTDIR=$DESTDIR install
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37  	mkdir -p $fs/usr
    1.38 -	cp -a $install/usr/bin $fs/usr
    1.39 -	cp -a $install/usr/share $fs/usr
    1.40 +
    1.41 +	cp -a $install/usr/bin		$fs/usr
    1.42 +	cp -a $install/usr/share	$fs/usr
    1.43 +
    1.44  	# rm stuff
    1.45  	rm -rf $fs/usr/share/man
    1.46  }
    1.47 -