wok-next diff dillo/receipt @ rev 20761

dillo: up (3.0.5)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 05 12:11:44 2018 +0300 (2018-06-05)
parents d6378d455338
children d5aab818505e
line diff
     1.1 --- a/dillo/receipt	Thu May 10 21:12:00 2018 +0300
     1.2 +++ b/dillo/receipt	Tue Jun 05 12:11:44 2018 +0300
     1.3 @@ -1,42 +1,36 @@
     1.4  # SliTaz package receipt v2.
     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  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 -WEB_SITE="http://www.dillo.org/"
    1.14 +WEB_SITE="https://www.dillo.org/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="http://www.dillo.org/download/$TARBALL"
    1.18 +WGET_URL="https://www.dillo.org/download/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="fltk-dev libpng16-dev jpeg-dev zlib-dev openssl-dev \
    1.21 -xorg-libX11-dev"
    1.22 +BUILD_DEPENDS="fltk-dev xorg-libX11-dev libjpeg-turbo-dev zlib-dev \
    1.23 +libpng16-dev openssl10-dev"
    1.24  
    1.25  compile_rules() {
    1.26 -	cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h &&
    1.27 +	cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h
    1.28 +
    1.29 +	export CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0"
    1.30 +	export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0"
    1.31  
    1.32  	./configure \
    1.33  		--enable-ssl \
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make &&
    1.36 -	make install
    1.37 +	make install || return 1
    1.38 +
    1.39 +	install -Dm644 $stuff/dillo.html $install/usr/share/webhome/dillo.html
    1.40  }
    1.41  
    1.42  genpkg_rules() {
    1.43 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/lib/dillo $fs/usr/lib
    1.46 -	strip -s $fs/usr/lib/dillo/dpi/*/*
    1.47 -	chmod +x $fs/usr/bin/*
    1.48 -	# Config files with custom dillorc to have webhome
    1.49 -	cp -a $install/etc $fs
    1.50 -	cp -a $stuff/dillorc $fs/etc/dillo
    1.51 -	cp -a $stuff/webhome $fs/usr/share
    1.52 -	# Dillo version for user agent string
    1.53 -	sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc
    1.54 -	chown -R root.root $fs
    1.55 -	DEPENDS="fltk libpng16 jpeg zlib openssl xorg-libX11 gcc-lib-base"
    1.56 +	copy @std
    1.57 +	DEPENDS="fltk libjpeg-turbo libpng16 openssl10 xorg-libX11 zlib"
    1.58  	TAGS="web-browser"
    1.59  }