wok diff mutt/receipt @ rev 22686

Up pssh (2.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 19 16:24:05 2020 +0100 (2020-01-19)
parents 697186cadac0
children e7b9e1518766
line diff
     1.1 --- a/mutt/receipt	Sat Jul 09 20:35:00 2016 +0100
     1.2 +++ b/mutt/receipt	Sun Jan 19 16:24:05 2020 +0100
     1.3 @@ -1,46 +1,52 @@
     1.4 -
     1.5  # SliTaz package receipt
     1.6  
     1.7  PACKAGE="mutt"
     1.8 -VERSION="1.6.1"
     1.9 +VERSION="1.11.4"
    1.10  CATEGORY="network"
    1.11 -SHORT_DESC="Small and powerful text-based mail client"
    1.12 +SHORT_DESC="Small and powerful text-based mail client."
    1.13  MAINTAINER="paul@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://www.mutt.org"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.mutt.org"
    1.19  WGET_URL="ftp://ftp.mutt.org/pub/mutt/$TARBALL"
    1.20 +
    1.21 +DEPENDS="libidn libsasl ncurses openssl zlib"
    1.22 +BUILD_DEPENDS="cyrus-sasl-dev libidn-dev ncurses-dev openssl-dev perl"
    1.23  CONFIG_FILES="/etc/Muttrc /etc/mime.types"
    1.24  
    1.25 -DEPENDS="openssl ncurses zlib libidn libsasl"
    1.26 -BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl cyrus-sasl-dev"
    1.27 -
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30 -{	
    1.31 -    addgroup mail
    1.32 -    sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
    1.33 -    ./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--enable-imap \
    1.36 -		--with-ssl=/usr \
    1.37 -		--with-mailpath=/var/mail \
    1.38 -		--sysconfdir=/etc \
    1.39 -		--enable-pop \
    1.40 -		--enable-smtp \
    1.41 -		--with-sasl \
    1.42 +{
    1.43 +	addgroup mail
    1.44 +	sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
    1.45 +
    1.46 +	./configure				\
    1.47 +		--prefix=/usr			\
    1.48 +		--enable-imap			\
    1.49 +		--with-ssl=/usr			\
    1.50 +		--with-mailpath=/var/mail	\
    1.51 +		--sysconfdir=/etc		\
    1.52 +		--enable-pop			\
    1.53 +		--enable-smtp			\
    1.54 +		--with-sasl			\
    1.55  		$CONFIGURE_ARGS &&
    1.56 -	make && make install &&
    1.57 +	make &&
    1.58 +	make install
    1.59 +
    1.60  	delgroup mail
    1.61  }
    1.62  
    1.63  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.64  genpkg_rules()
    1.65  {
    1.66 -	mkdir -p $fs/usr $fs/etc
    1.67 -	cp -a $install/usr/bin $fs/usr
    1.68 -	cp -a $install/etc/* $fs/etc	
    1.69 -	cp -a $install/usr/share $fs/usr
    1.70 +	mkdir -p $fs/usr
    1.71 +	mkdir -p $fs/etc
    1.72 +
    1.73 +	cp -a $install/usr/bin		$fs/usr
    1.74 +	cp -a $install/etc/*		$fs/etc	
    1.75 +	cp -a $install/usr/share	$fs/usr
    1.76 +
    1.77  	rm -r $fs/usr/share/doc
    1.78  	rm -r $fs/usr/share/man
    1.79  }