wok view mutt/receipt @ rev 24262

updated perl-text-template (1.58 -> 1.60)
author Hans-G?nter Theisgen
date Sun Jan 02 10:18:15 2022 +0100 (2022-01-02)
parents 5421d06bf0db
children 241fb98cab1c
line source
1 # SliTaz package receipt
3 PACKAGE="mutt"
4 VERSION="1.14.7"
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 }