mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-18 09:40:05 +02:00
114 lines
2.9 KiB
Bash
114 lines
2.9 KiB
Bash
SUMMARY="Small but very powerful text-based mail client"
|
|
DESCRIPTION="A text-based email client for Unix-like systems. \
|
|
The Mutt slogan is All mail clients suck. This one just sucks less."
|
|
HOMEPAGE="http://www.mutt.org/"
|
|
COPYRIGHT="1996-2016 Michael R. Elkins
|
|
1996-2002 Brandon Long
|
|
1997-2009 Thomas Roessler
|
|
1998-2005 Werner Koch
|
|
1999-2014 Brendan Cully
|
|
1999-2002 Tommi Komulainen
|
|
2000-2004 Edmund Grimley Evans
|
|
2006-2009 Rocco Rutte
|
|
2014-2017 Kevin J. McCarthy"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://bitbucket.org/mutt/mutt/downloads/mutt-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="9b81746d67ffeca5ea44f60893b70dc93c86d4bc10187d4dd360185e4d42ed42"
|
|
PATCHES="mutt-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
mutt$secondaryArchSuffix = $portVersion
|
|
cmd:flea$secondaryArchSuffix = $portVersion
|
|
cmd:mutt$secondaryArchSuffix = $portVersion
|
|
cmd:muttbug$secondaryArchSuffix = $portVersion
|
|
cmd:pgpewrap$secondaryArchSuffix = $portVersion
|
|
cmd:pgpring$secondaryArchSuffix = $portVersion
|
|
cmd:smime_keys$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
cmd:gpg$secondaryArchSuffix
|
|
lib:libaspell$secondaryArchSuffix
|
|
lib:libassuan$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libgettextpo$secondaryArchSuffix
|
|
lib:libgnutls$secondaryArchSuffix
|
|
lib:libgpgme$secondaryArchSuffix
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
lib:libgsasl$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libidn$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libaspell$secondaryArchSuffix
|
|
devel:libassuan$secondaryArchSuffix
|
|
devel:libcrypto$secondaryArchSuffix
|
|
devel:libgettextlib$secondaryArchSuffix
|
|
devel:libgnutls$secondaryArchSuffix
|
|
devel:libgpgme$secondaryArchSuffix
|
|
devel:libgpg_error$secondaryArchSuffix
|
|
devel:libgsasl$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libidn$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:autoreconf
|
|
cmd:awk
|
|
cmd:bison
|
|
cmd:gawk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gpg$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:m4
|
|
"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/Muttrc keep-old
|
|
settings/Muttrc.dist keep-old
|
|
settings/mime.types keep-old
|
|
settings/mime.types.dist keep-old
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export CFLAGS="-D_BSD_SOURCE"
|
|
export LDFLAGS="-lnetwork -lbsd"
|
|
|
|
libtoolize --force --copy --install
|
|
autoreconf -vfi
|
|
|
|
runConfigure configure \
|
|
--enable-compressed \
|
|
--enable-gpgme \
|
|
--enable-imap \
|
|
--enable-pop \
|
|
--enable-smtp \
|
|
--enable-sidebar \
|
|
--disable-warnings \
|
|
--with-gnutls \
|
|
--with-idn \
|
|
--with-regex \
|
|
--with-ssl \
|
|
--with-mailpath=`finddir B_USER_DIRECTORY`/mail/mutt
|
|
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|