wok view mutt/receipt @ rev 23836

Up jbig2dec (0.18), metasploit (5.0.91), nginx (1.19.0), spamassassin (3.4.4), sqlite (3.32.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:15:25 2020 +0000 (2020-06-01)
parents f58de9ed1b72
children e2073ef01171
line source
1 # SliTaz package receipt
3 PACKAGE="mutt"
4 VERSION="1.13.4"
5 CATEGORY="network"
6 SHORT_DESC="Small and powerful text-based mail client."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.mutt.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.mutt.org/pub/mutt/$TARBALL"
14 DEPENDS="libidn libsasl ncurses openssl zlib"
15 BUILD_DEPENDS="cyrus-sasl-dev libidn-dev libxslt ncurses-dev openssl-dev perl"
17 CONFIG_FILES="/etc/Muttrc /etc/mime.types"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 addgroup mail
23 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
25 ./configure \
26 --prefix=/usr \
27 --enable-imap \
28 --with-mailpath=/var/mail \
29 --with-ssl=/usr \
30 --sysconfdir=/etc \
31 --enable-pop \
32 --enable-smtp \
33 --with-sasl \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
38 delgroup mail
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 mkdir -p $fs/etc
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/etc/* $fs/etc
49 cp -a $install/usr/share $fs/usr
51 rm -r $fs/usr/share/doc
52 rm -r $fs/usr/share/man
53 }
55 post_install()
56 {
57 chroot "$1/" addgroup mail
58 }
60 post_remove()
61 {
62 chroot "$1/" delgroup mail
63 }