wok view mutt/receipt @ rev 20641

Add SSL support to retawq (needed by man to browse linux.die.net)
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Jan 11 09:19:11 2019 +0100 (2019-01-11)
parents 9e01bc6321ea
children ef6d989895bd
line source
2 # SliTaz package receipt
4 PACKAGE="mutt"
5 VERSION="1.6.1"
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="ftp://ftp.mutt.org/pub/mutt/$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 }