wok rev 16845

netsurf: try default make rules
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jul 12 23:41:25 2014 +0300 (2014-07-12)
parents 58a5d013a6bd
children bfb37da1908b
files netsurf/receipt
line diff
     1.1 --- a/netsurf/receipt	Sat Jul 12 20:01:21 2014 +0000
     1.2 +++ b/netsurf/receipt	Sat Jul 12 23:41:25 2014 +0300
     1.3 @@ -21,15 +21,15 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	mv netsurf $PACKAGE-$VERSION 2>/dev/null
     1.8 +	#mv netsurf $PACKAGE-$VERSION 2>/dev/null
     1.9  	cd $src
    1.10 -	cp -a $stuff/Makefile.config .
    1.11 +	#cp -a $stuff/Makefile.config .
    1.12  	
    1.13  	# Fix install target
    1.14 -	sed -i 's/cp -vRL/cp -RL/' Makefile
    1.15 -	sed -i 's/cp -v/cp /' Makefile
    1.16 -	
    1.17 -	make install DESTDIR=$DESTDIR PREFIX=/usr
    1.18 +	#sed -i 's/cp -vRL/cp -RL/' Makefile
    1.19 +	#sed -i 's/cp -v/cp /' Makefile
    1.20 +	#make install DESTDIR=$DESTDIR PREFIX=/usr
    1.21 +	make install DESTDIR=$DESTDIR install
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 @@ -37,10 +37,11 @@
    1.26  {
    1.27  	mkdir -p $fs/usr/share \
    1.28  		$fs/usr/lib/netsurf
    1.29 +	cp -a $install/bin $fs/usr
    1.30 +	#cp -a $install/usr/bin $fs/usr
    1.31 +	#cp -a $install/usr/share/netsurf $fs/usr/share
    1.32 +	cp -a $install/share/netsurf $fs/usr/share
    1.33  	
    1.34 -	cp -a $install/usr/bin $fs/usr
    1.35 -	cp -a $install/usr/share/netsurf $fs/usr/share
    1.36 -
    1.37  	# Remove files to save some space
    1.38  	rm -rf $fs/usr/share/netsurf/docs
    1.39  	rm -rf $fs/usr/share/netsurf/*.xpm