wok-next view mutt/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 2463fe85055d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mutt"
4 VERSION="1.10.0"
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 BUILD_DEPENDS="ncurses-dev openssl-dev cyrus-sasl-dev gettext-dev libidn-dev \
15 opensp perl libxslt docbook-xsl"
17 compile_rules() {
18 addgroup mail
20 ./configure \
21 --enable-imap \
22 --with-ssl=/usr \
23 --with-mailpath=/var/mail \
24 --enable-pop \
25 --enable-smtp \
26 --with-sasl \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install || return 1
31 delgroup mail
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="libidn libsasl ncurses openssl"
37 CONFIG_FILES="/etc/Muttrc /etc/mime.types"
38 }
40 post_install() {
41 chroot "$1/" addgroup mail
42 }
44 post_remove() {
45 chroot "$1/" delgroup mail
46 }