wok-6.x annotate mutt/receipt @ rev 22859
updated gnaughty (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 20 14:50:56 2020 +0100 (2020-02-20) |
parents | 697186cadac0 |
children | e7b9e1518766 |
rev | line source |
---|---|
taziden@1973 | 1 # SliTaz package receipt |
taziden@1973 | 2 |
taziden@1973 | 3 PACKAGE="mutt" |
Hans-G?nter@21503 | 4 VERSION="1.11.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" |
pascal@17339 | 16 CONFIG_FILES="/etc/Muttrc /etc/mime.types" |
taziden@1973 | 17 |
taziden@1973 | 18 # Rules to configure and make the package. |
taziden@1973 | 19 compile_rules() |
Hans-G?nter@21503 | 20 { |
Hans-G?nter@21503 | 21 addgroup mail |
Hans-G?nter@21503 | 22 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c |
Hans-G?nter@21503 | 23 |
Hans-G?nter@21503 | 24 ./configure \ |
Hans-G?nter@21503 | 25 --prefix=/usr \ |
Hans-G?nter@21503 | 26 --enable-imap \ |
Hans-G?nter@21503 | 27 --with-ssl=/usr \ |
Hans-G?nter@21503 | 28 --with-mailpath=/var/mail \ |
Hans-G?nter@21503 | 29 --sysconfdir=/etc \ |
Hans-G?nter@21503 | 30 --enable-pop \ |
Hans-G?nter@21503 | 31 --enable-smtp \ |
Hans-G?nter@21503 | 32 --with-sasl \ |
pankso@10601 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@21503 | 34 make && |
Hans-G?nter@21503 | 35 make install |
Hans-G?nter@21503 | 36 |
pankso@10601 | 37 delgroup mail |
taziden@1973 | 38 } |
taziden@1973 | 39 |
taziden@1973 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@1973 | 41 genpkg_rules() |
taziden@1973 | 42 { |
Hans-G?nter@21503 | 43 mkdir -p $fs/usr |
Hans-G?nter@21503 | 44 mkdir -p $fs/etc |
Hans-G?nter@21503 | 45 |
Hans-G?nter@21503 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21503 | 47 cp -a $install/etc/* $fs/etc |
Hans-G?nter@21503 | 48 cp -a $install/usr/share $fs/usr |
Hans-G?nter@21503 | 49 |
taziden@1973 | 50 rm -r $fs/usr/share/doc |
taziden@1973 | 51 rm -r $fs/usr/share/man |
taziden@1973 | 52 } |
taziden@1973 | 53 |
pankso@10601 | 54 post_install() |
pankso@10601 | 55 { |
pascal@18730 | 56 chroot "$1/" addgroup mail |
pankso@10601 | 57 } |
pankso@10601 | 58 |
pankso@10601 | 59 post_remove() |
pankso@10601 | 60 { |
pascal@18730 | 61 chroot "$1/" delgroup mail |
pankso@10601 | 62 } |