wok view mutt/receipt @ rev 21908
updated sharutils (4.14 -> 4.15.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 04 14:54:35 2019 +0100 (2019-10-04) |
parents | 697186cadac0 |
children | e7b9e1518766 |
line source
1 # SliTaz package receipt
3 PACKAGE="mutt"
4 VERSION="1.11.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"
16 CONFIG_FILES="/etc/Muttrc /etc/mime.types"
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
24 ./configure \
25 --prefix=/usr \
26 --enable-imap \
27 --with-ssl=/usr \
28 --with-mailpath=/var/mail \
29 --sysconfdir=/etc \
30 --enable-pop \
31 --enable-smtp \
32 --with-sasl \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
37 delgroup mail
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 mkdir -p $fs/etc
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/etc/* $fs/etc
48 cp -a $install/usr/share $fs/usr
50 rm -r $fs/usr/share/doc
51 rm -r $fs/usr/share/man
52 }
54 post_install()
55 {
56 chroot "$1/" addgroup mail
57 }
59 post_remove()
60 {
61 chroot "$1/" delgroup mail
62 }