wok-stable view mutt/receipt @ rev 12465

Up e2fsprogs (1.44.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 04 18:42:23 2019 +0100 (2019-03-04)
parents 0eefa06c6e29
children
line source
2 # SliTaz package receipt
4 PACKAGE="mutt"
5 VERSION="1.5.21"
6 CATEGORY="network"
7 SHORT_DESC="Small and powerful text-based mail client"
8 MAINTAINER="paul@slitaz.org"
9 DEPENDS="openssl ncurses zlib libidn"
10 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.mutt.org"
13 WGET_URL="ftp://ftp.mutt.org/mutt/devel/$TARBALL"
14 CONFIG_FILES="/etc/Muttrc /etc/mime.types"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 addgroup mail
21 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
22 ./configure \
23 --prefix=/usr \
24 --enable-imap \
25 --with-ssl=/usr \
26 --with-mailpath=/var/mail \
27 --sysconfdir=/etc \
28 --enable-pop \
29 --enable-smtp \
30 $CONFIGURE_ARGS &&
31 make && make install &&
32 delgroup mail
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr $fs/etc
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/etc/* $fs/etc
41 cp -a $_pkg/usr/share $fs/usr
42 rm -r $fs/usr/share/doc
43 rm -r $fs/usr/share/man
44 }
46 post_install()
47 {
48 addgroup mail
49 }
51 post_remove()
52 {
53 delgroup mail
54 }