wok-6.x rev 10601

mutt:fix buils and change maintainer to paul (taziden can't maintain anymore)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 15:57:08 2011 +0200 (2011-05-26)
parents 71f47827e1ad
children 003d3f3b2ce4
files mutt/receipt
line diff
     1.1 --- a/mutt/receipt	Thu May 26 15:47:54 2011 +0200
     1.2 +++ b/mutt/receipt	Thu May 26 15:57:08 2011 +0200
     1.3 @@ -5,7 +5,7 @@
     1.4  VERSION="1.5.21"
     1.5  CATEGORY="network"
     1.6  SHORT_DESC="Small and powerful text-based mail client"
     1.7 -MAINTAINER="taziden@slitaz.org"
     1.8 +MAINTAINER="paul@slitaz.org"
     1.9  DEPENDS="openssl ncurses zlib libidn"
    1.10  BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 @@ -16,10 +16,19 @@
    1.13  compile_rules()
    1.14  {	
    1.15      cd $src
    1.16 +    addgroup mail
    1.17      sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
    1.18 -    ./configure --prefix=/usr --enable-imap --with-ssl=/usr --with-mailpath=/var/mail --sysconfdir=/etc --enable-pop --enable-smtp $CONFIGURE_ARGS &&
    1.19 -	make &&
    1.20 -	make DESTDIR=$PWD/_pkg install
    1.21 +    ./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--enable-imap \
    1.24 +		--with-ssl=/usr \
    1.25 +		--with-mailpath=/var/mail \
    1.26 +		--sysconfdir=/etc \
    1.27 +		--enable-pop \
    1.28 +		--enable-smtp \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make && make install &&
    1.31 +	delgroup mail
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 @@ -33,3 +42,12 @@
    1.36  	rm -r $fs/usr/share/man
    1.37  }
    1.38  
    1.39 +post_install()
    1.40 +{
    1.41 +	addgroup mail
    1.42 +}
    1.43 +
    1.44 +post_remove()
    1.45 +{
    1.46 +	delgroup mail
    1.47 +}