wok-stable diff mutt/receipt @ rev 11340

seamonkey: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 26 11:04:18 2011 +0100 (2011-11-26)
parents 5c7155cf394a
children 0eefa06c6e29
line diff
     1.1 --- a/mutt/receipt	Mon Sep 27 18:18:13 2010 +0000
     1.2 +++ b/mutt/receipt	Sat Nov 26 11:04:18 2011 +0100
     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 +}