wok-4.x view mutt/receipt @ rev 12356

Trying to fix APE support again
author Brenton Scott <admin@trixarian.net>
date Sat Nov 24 17:33:24 2012 +0200 (2012-11-24)
parents 5c7155cf394a
children 0eefa06c6e29
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/bin $fs/etc
38 cp -a $_pkg/usr/bin/mutt $fs/usr/bin/
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 }