wok diff pan/receipt @ rev 24069

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 06 11:01:20 2021 +0000 (2021-07-06)
parents 4bec62c8999a
children 2a0479881723
line diff
     1.1 --- a/pan/receipt	Thu Feb 16 08:45:19 2017 +0100
     1.2 +++ b/pan/receipt	Tue Jul 06 11:01:20 2021 +0000
     1.3 @@ -1,22 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pan"
     1.7 -VERSION="0.134"
     1.8 +VERSION="0.146"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="pan is a usenet newsreader"
    1.11 +SHORT_DESC="A usenet newsreader."
    1.12  MAINTAINER="allan316@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://pan.rebelbase.com/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://pan.rebelbase.com"
    1.18 -WGET_URL="$WEB_SITE/download/releases/$VERSION/source/$TARBALL"
    1.19 +WGET_URL="${WEB_SITE}download/releases/$VERSION/source/$TARBALL"
    1.20  
    1.21 -DEPENDS="pcre gmime gtkspell gtk+ cairo gcc-lib-base glibc-base"
    1.22 -BUILD_DEPENDS="intltool gmime-dev glib-dev gtk+-dev gtkspell-dev"
    1.23 +DEPENDS="cairo gcc-lib-base glibc-base gmime gtk+ gtkspell pcre"
    1.24 +BUILD_DEPENDS="gettext glib-dev gmime-dev gtk+-dev gtkspell-dev intltool itstool"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30  	sed -i 's|<glib/gtypes.h>|<glib.h>|' pan/general/file-util.h \
    1.31  		pan/data/article-cache.h \
    1.32  		pan/gui/render-bytes.h
    1.33 @@ -52,18 +52,21 @@
    1.34  tasks/nntp-pool.cc	config.h
    1.35  usenet-utils/numbers.cc	cctype
    1.36  EOT
    1.37 -	./configure \
    1.38 -		--prefix=/usr \
    1.39 +
    1.40 +	./configure			\
    1.41 +		--prefix=/usr		\
    1.42 +		--with-gmime30=yes	\
    1.43  		$CONFIGURE_ARGS &&
    1.44 -	make && make DESTDIR=$DESTDIR install
    1.45 +	make &&
    1.46 +	make DESTDIR=$DESTDIR install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52  	mkdir -p $fs/usr/share
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 -	cp -a $install/usr/share/applications $fs/usr/share
    1.55 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.56 +
    1.57 +	cp -a $install/usr/bin			$fs/usr
    1.58 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.59 +	cp -a $install/usr/share/icons		$fs/usr/share
    1.60  }
    1.61 -