wok-next view mutt/receipt @ rev 17319
Up mutt (1.5.3)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Nov 04 11:36:52 2014 +0000 (2014-11-04) |
parents | 17bf4f330c44 |
children | 7de0921f7b47 |
line source
2 # SliTaz package receipt
4 PACKAGE="mutt"
5 VERSION="1.5.23"
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/mutt/devel/$TARBALL"
14 DEPENDS="openssl ncurses zlib libidn"
15 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 --enable-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 addgroup mail
51 }
53 post_remove()
54 {
55 delgroup mail
56 }