wok-next annotate mutt/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 2463fe85055d |
children |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
taziden@1973 | 2 |
taziden@1973 | 3 PACKAGE="mutt" |
al@20713 | 4 VERSION="1.10.0" |
taziden@1973 | 5 CATEGORY="network" |
taziden@1973 | 6 SHORT_DESC="Small and powerful text-based mail client" |
pankso@10601 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://www.mutt.org/" |
al@20534 | 10 |
taziden@1973 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@19302 | 12 WGET_URL="ftp://ftp.mutt.org/pub/mutt/$TARBALL" |
taziden@1973 | 13 |
al@21020 | 14 BUILD_DEPENDS="ncurses-dev openssl-dev cyrus-sasl-dev gettext-dev libidn-dev \ |
al@20713 | 15 opensp perl libxslt docbook-xsl" |
pascal@15583 | 16 |
al@20534 | 17 compile_rules() { |
al@20534 | 18 addgroup mail |
al@20534 | 19 |
al@20534 | 20 ./configure \ |
pankso@10601 | 21 --enable-imap \ |
pankso@10601 | 22 --with-ssl=/usr \ |
pankso@10601 | 23 --with-mailpath=/var/mail \ |
pankso@10601 | 24 --enable-pop \ |
pankso@10601 | 25 --enable-smtp \ |
pascal@17322 | 26 --with-sasl \ |
pankso@10601 | 27 $CONFIGURE_ARGS && |
al@20534 | 28 make && |
al@20713 | 29 make install || return 1 |
al@20534 | 30 |
pankso@10601 | 31 delgroup mail |
taziden@1973 | 32 } |
taziden@1973 | 33 |
al@20534 | 34 genpkg_rules() { |
al@20534 | 35 copy @std |
al@20713 | 36 DEPENDS="libidn libsasl ncurses openssl" |
al@20534 | 37 CONFIG_FILES="/etc/Muttrc /etc/mime.types" |
taziden@1973 | 38 } |
taziden@1973 | 39 |
al@20534 | 40 post_install() { |
pascal@18730 | 41 chroot "$1/" addgroup mail |
pankso@10601 | 42 } |
pankso@10601 | 43 |
al@20534 | 44 post_remove() { |
pascal@18730 | 45 chroot "$1/" delgroup mail |
pankso@10601 | 46 } |