wok-next annotate mutt/receipt @ rev 20682
Remove aspell-* dictionary packages; add aspell-dicts: receipt produces different packages with different versions (require cookutils >= 1057)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 18 12:53:47 2018 +0300 (2018-05-18) |
parents | 697186cadac0 |
children | 2463fe85055d |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
taziden@1973 | 2 |
taziden@1973 | 3 PACKAGE="mutt" |
paul@19302 | 4 VERSION="1.6.1" |
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@20534 | 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 |
pascal@17322 | 14 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl cyrus-sasl-dev" |
pascal@15583 | 15 |
al@20534 | 16 compile_rules() { |
al@20534 | 17 addgroup mail |
al@20534 | 18 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c |
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@20534 | 29 make install |
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@20534 | 36 DEPENDS="openssl ncurses zlib libidn libsasl" |
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 } |