wok-next diff netsurf/receipt @ rev 15638

aufs: run xz in compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 20:27:20 2013 +0000 (2013-12-09)
parents 27f52fdaa413
children 91654f4ca530
line diff
     1.1 --- a/netsurf/receipt	Sat Dec 24 15:02:02 2011 +0100
     1.2 +++ b/netsurf/receipt	Mon Dec 09 20:27:20 2013 +0000
     1.3 @@ -5,15 +5,17 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="A simple, fast and light web browser using GTK."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8 +TARBALL="$PACKAGE-$VERSION-src.tar.gz"
     1.9 +WEB_SITE="http://www.netsurf-browser.org/"
    1.10 +WGET_URL="http://www.netsurf-browser.org/downloads/releases/$TARBALL"
    1.11 +TAGS="browser"
    1.12 +
    1.13  DEPENDS="gtk+ libssl libpng jpeg lcms libparserutils hubbub libnsgif \
    1.14  libcurl libglade librsvg libgsf libcss libmng zlib libxml2"
    1.15  BUILD_DEPENDS="$DEPENDS gtk+-dev libglade-dev openssl-dev libpng-dev jpeg-dev lcms-dev \
    1.16  re2c lemon libparserutils-dev hubbub-dev libnsgif-dev librsvg-dev curl-dev pango-dev \
    1.17  libcss-dev libwapcaplet-dev libmng-dev zlib-dev libxml2-dev libcroco"
    1.18 -TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.19 -WEB_SITE="http://www.netsurf-browser.org/"
    1.20 -WGET_URL="http://www.netsurf-browser.org/downloads/releases/$TARBALL"
    1.21 -TAGS="browser"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -31,7 +33,7 @@
    1.26  	sed -i 's/cp -v/cp /' Makefile
    1.27  	sed -i 's|/usr/local|/usr|' Makefile.defaults
    1.28  	
    1.29 -	make install DESTDIR=$PWD/_pkg PREFIX=/usr
    1.30 +	make install DESTDIR=$DESTDIR PREFIX=/usr
    1.31  
    1.32  }
    1.33  
    1.34 @@ -41,8 +43,8 @@
    1.35  	mkdir -p $fs/usr/share \
    1.36  		$fs/usr/lib/netsurf
    1.37  	
    1.38 -	cp -a $_pkg/usr/bin $fs/usr
    1.39 -	cp -a $_pkg/usr/share/netsurf $fs/usr/share
    1.40 +	cp -a $install/usr/bin $fs/usr
    1.41 +	cp -a $install/usr/share/netsurf $fs/usr/share
    1.42  
    1.43  	
    1.44  	# Remove files to save some space