Mercurial > vanilla
comparison mail/neomutt/neomutt.sh @ 902:a133976e0783
vanilla: remove all origins, closes #2203
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 26 Aug 2019 12:14:53 +0200 |
parents | ae55d9077f70 |
children | ddab65a5b3f5 |
comparison
equal
deleted
inserted
replaced
901:e2de15b7d2b1 | 902:a133976e0783 |
---|---|
19 PKGVERSION=20180716 | 19 PKGVERSION=20180716 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="GPLv2+" | 21 PKGLICENSE="GPLv2+" |
22 PKGSUMMARY="mutt fork with more features" | 22 PKGSUMMARY="mutt fork with more features" |
23 PKGDOWNLOAD="https://github.com/neomutt/neomutt/archive/$PKGNAME-$PKGVERSION.tar.gz" | 23 PKGDOWNLOAD="https://github.com/neomutt/neomutt/archive/$PKGNAME-$PKGVERSION.tar.gz" |
24 PKGDEPENDS="core/gettext lang/tcl:build lib/ncurses text/libxslt:build www/w3m:build" | 24 PKGDEPENDS="gettext tcl:build ncurses libxslt:build www/w3m:build" |
25 PKGOPTIONS="IDN2 NLS NOTMUCH SSL" | 25 PKGOPTIONS="IDN2 NLS NOTMUCH SSL" |
26 PKGPROTECT="etc/neomuttrc" | 26 PKGPROTECT="etc/neomuttrc" |
27 | 27 |
28 : ${CHOST:=$(uname -m)-linux-musl} | 28 : ${CHOST:=$(uname -m)-linux-musl} |
29 : ${CBUILD:=$(uname -m)-linux-musl} | 29 : ${CBUILD:=$(uname -m)-linux-musl} |
30 : ${CC:=clang} | 30 : ${CC:=clang} |
31 : ${CFLAGS:=-O2} | 31 : ${CFLAGS:=-O2} |
32 : ${LDFLAGS:=} | 32 : ${LDFLAGS:=} |
33 : ${IDN2:=yes} # TODO: not upstream default, change once dns/libidn is available. | 33 : ${IDN2:=yes} # TODO: not upstream default, change once libidn is available. |
34 : ${NLS:=yes} | 34 : ${NLS:=yes} |
35 : ${NOTMUCH:=no} | 35 : ${NOTMUCH:=no} |
36 : ${SSL:=openssl} # openssl or gnutls | 36 : ${SSL:=openssl} # openssl or gnutls |
37 | 37 |
38 if [ "$IDN2" = "yes" ]; then | 38 if [ "$IDN2" = "yes" ]; then |
39 PKGDEPENDS="dns/libidn2 $PKGDEPENDS" | 39 PKGDEPENDS="libidn2 $PKGDEPENDS" |
40 with_idn2="--disable-idn --idn2" | 40 with_idn2="--disable-idn --idn2" |
41 fi | 41 fi |
42 | 42 |
43 if [ "$NLS" != "yes" ]; then | 43 if [ "$NLS" != "yes" ]; then |
44 with_nls="--disable-nls" | 44 with_nls="--disable-nls" |
47 if [ "$NOTMUCH" = "yes" ]; then | 47 if [ "$NOTMUCH" = "yes" ]; then |
48 with_notmuch="--notmuch" | 48 with_notmuch="--notmuch" |
49 fi | 49 fi |
50 | 50 |
51 if [ "$SSL" = "openssl" ]; then | 51 if [ "$SSL" = "openssl" ]; then |
52 PKGDEPENDS="crypto/libressl $PKGDEPENDS" | 52 PKGDEPENDS="libressl $PKGDEPENDS" |
53 with_ssl="--ssl" | 53 with_ssl="--ssl" |
54 elif [ "$SSL" = "gnutls" ]; then | 54 elif [ "$SSL" = "gnutls" ]; then |
55 PKGDEPENDS="crypto/gnutls $PKGDEPENDS" | 55 PKGDEPENDS="gnutls $PKGDEPENDS" |
56 with_ssl="--gnutls" | 56 with_ssl="--gnutls" |
57 fi | 57 fi |
58 | 58 |
59 build() | 59 build() |
60 { | 60 { |