wok-6.x view mutt/receipt @ rev 19036

sakura: update french translation
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 12 17:19:40 2016 +0200 (2016-04-12)
parents 25551012e527
children 697186cadac0
line source
2 # SliTaz package receipt
4 PACKAGE="mutt"
5 VERSION="1.5.23"
6 CATEGORY="network"
7 SHORT_DESC="Small and powerful text-based mail client"
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.mutt.org"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 CONFIG_FILES="/etc/Muttrc /etc/mime.types"
15 DEPENDS="openssl ncurses zlib libidn libsasl"
16 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl cyrus-sasl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 addgroup mail
22 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
23 ./configure \
24 --prefix=/usr \
25 --enable-imap \
26 --with-ssl=/usr \
27 --with-mailpath=/var/mail \
28 --sysconfdir=/etc \
29 --enable-pop \
30 --enable-smtp \
31 --with-sasl \
32 $CONFIGURE_ARGS &&
33 make && make install &&
34 delgroup mail
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr $fs/etc
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/etc/* $fs/etc
43 cp -a $install/usr/share $fs/usr
44 rm -r $fs/usr/share/doc
45 rm -r $fs/usr/share/man
46 }
48 post_install()
49 {
50 chroot "$1/" addgroup mail
51 }
53 post_remove()
54 {
55 chroot "$1/" delgroup mail
56 }