Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=8 |
4 |
EAPI=8 |
5 |
|
5 |
|
6 |
inherit autotools toolchain-funcs |
6 |
inherit autotools optfeature toolchain-funcs |
7 |
|
7 |
|
8 |
DESCRIPTION="An easy to use text-based based mail and news client" |
8 |
DESCRIPTION="An easy to use text-based based mail and news client" |
9 |
HOMEPAGE="http://alpine.x10host.com/alpine/ https://repo.or.cz/alpine.git/" |
9 |
HOMEPAGE="http://alpine.x10host.com/alpine/ https://repo.or.cz/alpine.git/" |
Lines 15-21
Link Here
|
15 |
LICENSE="Apache-2.0" |
15 |
LICENSE="Apache-2.0" |
16 |
SLOT="0" |
16 |
SLOT="0" |
17 |
KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 ~sparc x86" |
17 |
KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 ~sparc x86" |
18 |
IUSE="+chappa ipv6 kerberos ldap nls onlyalpine passfile smime spell ssl threads" |
18 |
IUSE="+chappa ipv6 kerberos ldap nls onlyalpine passfile smime ssl threads" |
19 |
|
19 |
|
20 |
# alpine-2.25-ssl.patch can only be applied when not using the chappa patches. |
20 |
# alpine-2.25-ssl.patch can only be applied when not using the chappa patches. |
21 |
REQUIRED_USE="chappa? ( ssl )" |
21 |
REQUIRED_USE="chappa? ( ssl )" |
Lines 24-30
Link Here
|
24 |
virtual/libcrypt:= |
24 |
virtual/libcrypt:= |
25 |
kerberos? ( app-crypt/mit-krb5 ) |
25 |
kerberos? ( app-crypt/mit-krb5 ) |
26 |
ldap? ( net-nds/openldap:= ) |
26 |
ldap? ( net-nds/openldap:= ) |
27 |
spell? ( app-text/aspell ) |
|
|
28 |
ssl? ( dev-libs/openssl:0= ) |
27 |
ssl? ( dev-libs/openssl:0= ) |
29 |
" |
28 |
" |
30 |
RDEPEND="${DEPEND} |
29 |
RDEPEND="${DEPEND} |
Lines 52-63
Link Here
|
52 |
$(use_with passfile passfile .pinepwd) |
51 |
$(use_with passfile passfile .pinepwd) |
53 |
$(use_with kerberos krb5) |
52 |
$(use_with kerberos krb5) |
54 |
$(use_with threads pthread) |
53 |
$(use_with threads pthread) |
55 |
$(use_with spell interactive-spellcheck /usr/bin/aspell) |
|
|
56 |
$(use_enable nls) |
54 |
$(use_enable nls) |
57 |
$(use_with ipv6) |
55 |
$(use_with ipv6) |
58 |
$(use_with smime) |
56 |
$(use_with smime) |
59 |
) |
57 |
) |
60 |
|
58 |
|
|
|
59 |
if has_version "app-text/hunspell"; then |
60 |
myconf+=( --with-interactive-spellcheck=/usr/bin/hunspell ) |
61 |
elif has_version "app-text/aspell"; then |
62 |
myconf+=( --with-interactive-spellcheck=/usr/bin/aspell ) |
63 |
fi |
64 |
|
61 |
if use ssl; then |
65 |
if use ssl; then |
62 |
myconf+=( |
66 |
myconf+=( |
63 |
--with-ssl-include-dir="${EPREFIX}"/usr/include/openssl |
67 |
--with-ssl-include-dir="${EPREFIX}"/usr/include/openssl |
Lines 87-89
Link Here
|
87 |
newdoc "${S}/doc/mime.types" mime.types.sample |
91 |
newdoc "${S}/doc/mime.types" mime.types.sample |
88 |
docompress -x /usr/share/doc/${PF}/mailcap.unx.sample /usr/share/doc/${PF}/mime.types.sample |
92 |
docompress -x /usr/share/doc/${PF}/mailcap.unx.sample /usr/share/doc/${PF}/mime.types.sample |
89 |
} |
93 |
} |
|
|
94 |
|
95 |
pkg_postinst() { |
96 |
optfeature "Spell checking" app-text/hunspell app-text/aspell |
97 |
} |