wok-current view mutt/receipt @ rev 23206

updated mutt (1.11.4 -> 1.13.4)
author Hans-G?nter Theisgen
date Sat Mar 21 10:28:24 2020 +0100 (2020-03-21)
parents ef6d989895bd
children f58de9ed1b72
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 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-ssl=/usr \
29 --with-mailpath=/var/mail \
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 }