SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mutt"


# SliTaz package receipt

PACKAGE="mutt"
VERSION="1.5.21"
CATEGORY="network"
SHORT_DESC="Small and powerful text-based mail client"
MAINTAINER="paul@slitaz.org"
DEPENDS="openssl ncurses zlib libidn"
BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.mutt.org"
WGET_URL="ftp://ftp.mutt.org/mutt/devel/$TARBALL"
CONFIG_FILES="/etc/Muttrc /etc/mime.types"

# Rules to configure and make the package.
compile_rules()
{    
    cd $src
    addgroup mail
    sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
    ./configure \
        --prefix=/usr \
        --enable-imap \
        --with-ssl=/usr \
        --with-mailpath=/var/mail \
        --sysconfdir=/etc \
        --enable-pop \
        --enable-smtp \
        $CONFIGURE_ARGS &&
    make && make install &&
    delgroup mail
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr $fs/etc
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/etc/* $fs/etc    
    cp -a $_pkg/usr/share $fs/usr
    rm -r $fs/usr/share/doc
    rm -r $fs/usr/share/man
}

post_install()
{
    addgroup mail
}

post_remove()
{
    delgroup mail
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)