wok-6.x view mutt/receipt @ rev 19549
Up cacerts (20161124), perl no more need in post_install
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 09 03:40:48 2016 +0200 (2016-12-09) |
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 }