33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'mutt'
|
|
pkgname=mutt
|
|
version=1.6.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-pop --enable-imap --enable-smtp --enable-hcache
|
|
--enable-gpgme --with-regex --with-idn --with-ssl --with-sasl
|
|
--with-gpgme-prefix=${XBPS_CROSS_BASE}/usr
|
|
--with-gdbm=${XBPS_CROSS_BASE}/usr mutt_cv_regex_broken=no"
|
|
hostmakedepends="perl pkg-config libidn-devel"
|
|
makedepends="ncurses-devel libressl-devel libidn-devel gpgme-devel gdbm-devel
|
|
libsasl-devel"
|
|
depends="mime-types"
|
|
conf_files="/etc/Muttrc"
|
|
short_desc="The Mutt Mail Client"
|
|
maintainer="Jan S. <jan.schreib@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://www.mutt.org"
|
|
distfiles="http://ftp.mutt.org/pub/mutt/${pkgname}-${version}.tar.gz"
|
|
checksum=29afb6238ab7a540c0e3a78ce25c970f975ab6c0f0bc9f919993aab772136c19
|
|
|
|
pre_build() {
|
|
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS -fPIC" CPPFLAGS= mutt_md5
|
|
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS -fPIC" CPPFLAGS= -C doc
|
|
}
|
|
post_install() {
|
|
rm ${DESTDIR}/etc/Muttrc.dist
|
|
rm ${DESTDIR}/etc/mime.types{,.dist}
|
|
rm ${DESTDIR}/usr/bin/{flea,muttbug}
|
|
rm ${DESTDIR}/usr/share/man/man1/{flea,muttbug}.1
|
|
vinstall contrib/gpg.rc 644 etc Muttrc.gpg.dist
|
|
}
|