smlinux/net/mutt/mutt.SMBuild
PktSurf 03da9ec93f Discarded '--disable-nls' and similar build options in several build files to allow building of translation files
Added '--docdir' build option to extra/xarchiver, gtk/libcanberra, net/{tor,x2x} build files
Updated net/cgit tarball checksum
Switched to cmake build system in net/weechat
Discarded 'v' verbosity argument used for extracting net/x2x tarball and its doinst.sh
Fixed hardcoded doc directory name in xorg/jasper
2023-04-01 10:28:44 +05:30

42 lines
892 B
Text
Executable file

app=mutt
version=1.10.1
build=2sml
homepage="https://www.mutt.org"
download="http://ftp.mutt.org/pub/mutt/mutt-$version.tar.gz"
desc="Advanced text-mode mail client"
requires="netbsd-curses zlib libidn openssl cyrus-sasl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
LDFLAGS="-lterminfo" \
./configure \
--prefix="" \
--sysconfdir=/etc/mutt \
--disable-silent-rules \
--enable-imap \
--enable-pop \
--enable-smtp \
--with-ssl \
--with-sasl \
--disable-doc \
--with-homespool=/var/spool
make
make install DESTDIR=$pkg
cp GPL COPYRIGHT $pkgdocs/
mkfinalpkg
}
sha512sums="
82e33fbec999f0397b2e2b189dffe6b13e159c4ef5a44f87fa88894a02e24b00f61e8c808d206963e47a9b62b9ebfa025cb444a06866dbc21471ba10116a07eb mutt-1.10.1.tar.lz
"