wok view mutt/receipt @ rev 17323

openscad: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 04 16:20:27 2014 +0100 (2014-11-04)
parents a27eb3726263
children 25551012e527
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="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="openssl ncurses zlib libidn libsasl"
15 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl cyrus-sasl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 addgroup mail
21 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
22 ./configure \
23 --prefix=/usr \
24 --enable-imap \
25 --with-ssl=/usr \
26 --with-mailpath=/var/mail \
27 --sysconfdir=/etc \
28 --enable-pop \
29 --enable-smtp \
30 --with-sasl \
31 $CONFIGURE_ARGS &&
32 make && make install &&
33 delgroup mail
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr $fs/etc
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/etc/* $fs/etc
42 cp -a $install/usr/share $fs/usr
43 rm -r $fs/usr/share/doc
44 rm -r $fs/usr/share/man
45 }
47 post_install()
48 {
49 chroot $1/ addgroup mail
50 }
52 post_remove()
53 {
54 chroot $1/ delgroup mail
55 }