wok view mutt/receipt @ rev 15495

Up: firefox-langpack-it (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 17 16:29:59 2013 +0100 (2013-11-17)
parents 63d0d3c6b670
children bb009a6ef036
line source
2 # SliTaz package receipt
4 PACKAGE="mutt"
5 VERSION="1.5.21"
6 CATEGORY="network"
7 SHORT_DESC="Small and powerful text-based mail client"
8 MAINTAINER="paul@slitaz.org"
9 DEPENDS="openssl ncurses zlib libidn"
10 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.mutt.org"
13 WGET_URL="ftp://ftp.mutt.org/mutt/devel/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 addgroup mail
20 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
21 ./configure \
22 --prefix=/usr \
23 --enable-imap \
24 --with-ssl=/usr \
25 --with-mailpath=/var/mail \
26 --sysconfdir=/etc \
27 --enable-pop \
28 --enable-smtp \
29 $CONFIGURE_ARGS &&
30 make && make install &&
31 delgroup mail
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr $fs/etc
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/etc/* $fs/etc
40 cp -a $_pkg/usr/share $fs/usr
41 rm -r $fs/usr/share/doc
42 rm -r $fs/usr/share/man
43 }
45 post_install()
46 {
47 addgroup mail
48 }
50 post_remove()
51 {
52 delgroup mail
53 }