wok diff dillo/receipt @ rev 23634

Up tazlito (524)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 19 12:37:01 2020 +0000 (2020-04-19)
parents a78610b2eb47
children bfabe25c21ff
line diff
     1.1 --- a/dillo/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/dillo/receipt	Sun Apr 19 12:37:01 2020 +0000
     1.3 @@ -1,46 +1,55 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dillo"
     1.7 -VERSION="3.0.4"
     1.8 +VERSION="3.0.5"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Light and fast web browse using FLTK."
    1.11 +TAGS="web-browser"
    1.12 +SHORT_DESC="Light and fast web browser using FLTK."
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="GPL3"
    1.15 +WEB_SITE="https://www.dillo.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="https://www.dillo.org/"
    1.19  WGET_URL="https://www.dillo.org/download/$TARBALL"
    1.20 -TAGS="web-browser"
    1.21 +
    1.22 +DEPENDS="fltk gcc-lib-base jpeg libpng openssl xorg-libX11 zlib"
    1.23 +BUILD_DEPENDS="fltk-dev jpeg-dev libpng-dev openssl-dev zlib-dev"
    1.24 +
    1.25  HOST_ARCH="i486 arm"
    1.26  
    1.27 -DEPENDS="fltk libpng jpeg zlib openssl xorg-libX11 gcc-lib-base"
    1.28 -BUILD_DEPENDS="fltk-dev libpng-dev jpeg-dev zlib-dev openssl-dev"
    1.29 -
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	patch -p0 < $stuff/fltk-1.3.3.u
    1.34 -	cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h &&
    1.35 -	./configure \
    1.36 -		--sysconfdir=/etc \
    1.37 -		--prefix=/usr \
    1.38 -		--enable-ssl \
    1.39 +#	patch -p0 < $stuff/fltk-1.3.3.u
    1.40 +	cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h
    1.41 +
    1.42 +	./configure			\
    1.43 +		--sysconfdir=/etc	\
    1.44 +		--prefix=/usr		\
    1.45 +		--enable-ssl		\
    1.46  		$CONFIGURE_ARGS &&
    1.47 -	make && make install
    1.48 +	make &&
    1.49 +	make install
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.56 -	cp -a $install/usr/bin $fs/usr
    1.57 -	cp -a $install/usr/lib/dillo $fs/usr/lib
    1.58 -	strip -s $fs/usr/lib/dillo/dpi/*/*
    1.59 -	chmod +x $fs/usr/bin/*
    1.60 -	# Config files with custom dillorc to have webhome
    1.61 -	cp -a $install/etc $fs
    1.62 -	cp -a $stuff/dillorc $fs/etc/dillo
    1.63 -	cp -a $stuff/webhome $fs/usr/share
    1.64 +	mkdir -p $fs/usr/lib
    1.65 +	mkdir -p $fs/usr/share
    1.66 +
    1.67 +	cp -a $install/usr/bin		$fs/usr
    1.68 +	cp -a $install/usr/lib/dillo	$fs/usr/lib
    1.69 +	strip -s			$fs/usr/lib/dillo/dpi/*/*
    1.70 +	chmod +x			$fs/usr/bin/*
    1.71 +
    1.72 +	# Configuration files with custom dillorc to have webhome
    1.73 +	cp -a $install/etc		$fs
    1.74 +	cp -a $stuff/dillorc		$fs/etc/dillo
    1.75 +	cp -a $stuff/webhome		$fs/usr/share
    1.76 +
    1.77  	# Dillo version for user agent string
    1.78  	sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc
    1.79 -	chown -R root.root $fs
    1.80 +
    1.81 +	chown -R root.root		$fs
    1.82  }