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