wok-current diff netsurf/receipt @ rev 23951

taziso/bootusbkey: up to 2TB
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 09:52:25 2020 +0000 (2020-09-21)
parents e6a4cd87fdcb
children 241fb98cab1c
line diff
     1.1 --- a/netsurf/receipt	Sat Oct 05 18:31:33 2019 +0200
     1.2 +++ b/netsurf/receipt	Mon Sep 21 09:52:25 2020 +0000
     1.3 @@ -1,23 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="netsurf"
     1.7 -VERSION="3.6"
     1.8 +VERSION="3.9"
     1.9  CATEGORY="network"
    1.10 +TAGS="web-browser"
    1.11  SHORT_DESC="A simple, fast and light web browser using GTK."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.netsurf-browser.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-all-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.netsurf-browser.org/"
    1.18  WGET_URL="http://download.netsurf-browser.org/netsurf/releases/source-full/$TARBALL"
    1.19 -TAGS="web-browser"
    1.20  
    1.21 -DEPENDS="gtk+ libssl libpng jpeg lcms libparserutils hubbub libnsgif \
    1.22 -libcurl libglade librsvg libgsf libcss libmng zlib libxml2"
    1.23 -BUILD_DEPENDS="$DEPENDS gtk+-dev libglade-dev openssl-dev libpng-dev \
    1.24 -jpeg-dev lcms-dev re2c lemon libparserutils-dev hubbub-dev libnsgif-dev \
    1.25 -librsvg-dev curl-dev pango-dev libcss-dev libwapcaplet-dev libmng-dev \
    1.26 -zlib-dev libxml2-dev libcroco expat-dev gperf flex bison \
    1.27 -perl-html-parser perl-html-tagset"
    1.28 +DEPENDS="gtk+ hubbub jpeg lcms libcss libcurl libglade libgsf libmng libnsgif 
    1.29 +	libparserutils libpng librsvg libssl libxml2 zlib"
    1.30 +BUILD_DEPENDS="$DEPENDS bison curl-dev expat-dev flex gperf gtk+-dev hubbub-dev 
    1.31 +	jpeg-dev lcms-dev lemon libcroco libcss-dev libglade-dev libmng-dev 
    1.32 +	libnsgif-dev libparserutils-dev libpng-dev librsvg-dev libwapcaplet-dev 
    1.33 +	libxml2-dev openssl-dev pango-dev perl-html-parser perl-html-tagset re2c 
    1.34 +	vim zlib-dev"
    1.35  
    1.36  # Rules to configure and make the package.
    1.37  compile_rules()
    1.38 @@ -27,27 +28,32 @@
    1.39  	# Fix install target
    1.40  	#sed -i 's/cp -vRL/cp -RL/' Makefile
    1.41  	#sed -i 's/cp -v/cp /' Makefile
    1.42 -	make install DESTDIR=$DESTDIR PREFIX=/usr \
    1.43 -		TARGET=gtk \
    1.44 -		NETSURF_USE_WEBP=NO \
    1.45 -		NETSURF_GTK_MAJOR=2 \
    1.46 +
    1.47 +	make install 			\
    1.48 +		DESTDIR=$DESTDIR 	\
    1.49 +		PREFIX=/usr		\
    1.50 +		TARGET=gtk		\
    1.51 +		NETSURF_USE_WEBP=NO	\
    1.52 +		NETSURF_GTK_MAJOR=2	\
    1.53  		NETSURF_USE_VIDEO=NO
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.57  genpkg_rules()
    1.58  {
    1.59 -	mkdir -p $fs/usr/share \
    1.60 -		$fs/usr/lib/netsurf
    1.61 -	cp -a $install/usr/bin $fs/usr
    1.62 -	cp -a $install/usr/share/netsurf $fs/usr/share
    1.63 -	
    1.64 +	mkdir -p $fs/usr/share
    1.65 +	mkdir -p $fs/usr/lib/netsurf
    1.66 +
    1.67 +	cp -a $install/usr/bin			$fs/usr
    1.68 +	cp -a $install/usr/share/netsurf	$fs/usr/share
    1.69 +
    1.70  	# Remove files to save some space
    1.71  	rm -rf $fs/usr/share/netsurf/docs
    1.72  	rm -rf $fs/usr/share/netsurf/*.xpm
    1.73  	rm -rf $fs/usr/share/netsurf/license
    1.74 +
    1.75  	# Webhome
    1.76 -	cp -a $stuff/welcome.* $fs/usr/share/netsurf
    1.77 +	cp -a $stuff/welcome.*	$fs/usr/share/netsurf
    1.78  	rm $fs/usr/share/netsurf/*/welcome.html
    1.79  	chown -R root.root $fs
    1.80  }