wok-6.x annotate mutt/receipt @ rev 20797

updated clipit again (1.4.2 -> 1.4.4)
author Hans-G?nter Theisgen
date Fri Feb 15 13:24:17 2019 +0100 (2019-02-15)
parents 9e01bc6321ea
children ef6d989895bd
rev   line source
taziden@1973 1
taziden@1973 2 # SliTaz package receipt
taziden@1973 3
taziden@1973 4 PACKAGE="mutt"
paul@19302 5 VERSION="1.6.1"
taziden@1973 6 CATEGORY="network"
taziden@1973 7 SHORT_DESC="Small and powerful text-based mail client"
pankso@10601 8 MAINTAINER="paul@slitaz.org"
pascal@15583 9 LICENSE="GPL2"
taziden@1973 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
taziden@1973 11 WEB_SITE="http://www.mutt.org"
paul@19302 12 WGET_URL="ftp://ftp.mutt.org/pub/mutt/$TARBALL"
pascal@17339 13 CONFIG_FILES="/etc/Muttrc /etc/mime.types"
taziden@1973 14
pascal@17322 15 DEPENDS="openssl ncurses zlib libidn libsasl"
pascal@17322 16 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl cyrus-sasl-dev"
pascal@15583 17
taziden@1973 18 # Rules to configure and make the package.
taziden@1973 19 compile_rules()
taziden@1973 20 {
pankso@10601 21 addgroup mail
pascal@5542 22 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
pankso@10601 23 ./configure \
pankso@10601 24 --prefix=/usr \
pankso@10601 25 --enable-imap \
pankso@10601 26 --with-ssl=/usr \
pankso@10601 27 --with-mailpath=/var/mail \
pankso@10601 28 --sysconfdir=/etc \
pankso@10601 29 --enable-pop \
pankso@10601 30 --enable-smtp \
pascal@17322 31 --with-sasl \
pankso@10601 32 $CONFIGURE_ARGS &&
pankso@10601 33 make && make install &&
pankso@10601 34 delgroup mail
taziden@1973 35 }
taziden@1973 36
taziden@1973 37 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@1973 38 genpkg_rules()
taziden@1973 39 {
paul@13741 40 mkdir -p $fs/usr $fs/etc
pascal@15583 41 cp -a $install/usr/bin $fs/usr
pascal@15583 42 cp -a $install/etc/* $fs/etc
pascal@15583 43 cp -a $install/usr/share $fs/usr
taziden@1973 44 rm -r $fs/usr/share/doc
taziden@1973 45 rm -r $fs/usr/share/man
taziden@1973 46 }
taziden@1973 47
pankso@10601 48 post_install()
pankso@10601 49 {
pascal@18730 50 chroot "$1/" addgroup mail
pankso@10601 51 }
pankso@10601 52
pankso@10601 53 post_remove()
pankso@10601 54 {
pascal@18730 55 chroot "$1/" delgroup mail
pankso@10601 56 }