wok-4.x view mutt/receipt @ rev 7840
Up: libmicrohttpd to 0.9.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Dec 27 18:56:48 2010 +0000 (2010-12-27) |
parents | 0e66bfbeb7d5 |
children | 63d0d3c6b670 |
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="taziden@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 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
20 ./configure --prefix=/usr --enable-imap --with-ssl=/usr --with-mailpath=/var/mail --sysconfdir=/etc --enable-pop --enable-smtp $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/etc
29 cp -a $_pkg/usr/bin/mutt $fs/usr/bin/
30 cp -a $_pkg/etc/* $fs/etc/
31 cp -a $_pkg/usr/share $fs/usr/
32 rm -r $fs/usr/share/doc
33 rm -r $fs/usr/share/man
34 }