wok-next view mutt/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents 697186cadac0
children 2463fe85055d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mutt"
4 VERSION="1.6.1"
5 CATEGORY="network"
6 SHORT_DESC="Small and powerful text-based mail client"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.mutt.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.mutt.org/pub/mutt/$TARBALL"
14 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl cyrus-sasl-dev"
16 compile_rules() {
17 addgroup mail
18 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
20 ./configure \
21 --enable-imap \
22 --with-ssl=/usr \
23 --with-mailpath=/var/mail \
24 --enable-pop \
25 --enable-smtp \
26 --with-sasl \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
31 delgroup mail
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="openssl ncurses zlib libidn libsasl"
37 CONFIG_FILES="/etc/Muttrc /etc/mime.types"
38 }
40 post_install() {
41 chroot "$1/" addgroup mail
42 }
44 post_remove() {
45 chroot "$1/" delgroup mail
46 }