2013-11-18 22:47:33 +00:00
|
|
|
# Template file for 'mutt'
|
|
|
|
pkgname=mutt
|
2013-11-19 09:16:25 +00:00
|
|
|
version=1.5.22
|
|
|
|
revision=1
|
2013-11-18 22:47:33 +00:00
|
|
|
build_style=gnu-configure
|
2013-11-19 09:16:25 +00:00
|
|
|
configure_args="--enable-pop --enable-imap --enable-smtp
|
|
|
|
--enable-gpgme --with-idn --with-ssl --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 openssl-devel libidn-devel gpgme-devel mime-types"
|
2013-11-18 22:47:33 +00:00
|
|
|
short_desc="The Mutt Mail Client"
|
|
|
|
maintainer="Jan S. <jan.schreib@gmail.com>"
|
|
|
|
license="GPL-2"
|
2013-11-19 09:16:25 +00:00
|
|
|
homepage="http://www.mutt.org"
|
|
|
|
distfiles="ftp://ftp.mutt.org/mutt/devel/mutt-$version.tar.gz"
|
|
|
|
checksum=8feae890ed0758a5108bafaef27bd8fc9c378675acf25a3c620f2c7b7540f3a7
|
2013-11-18 22:47:33 +00:00
|
|
|
|
2013-11-18 23:11:43 +00:00
|
|
|
pre_build() {
|
|
|
|
find -name Makefile -exec sed \
|
|
|
|
-e 's,-I/usr/include,,g' \
|
|
|
|
-e 's,${prefix}/include,,g' -i {} \;
|
|
|
|
}
|
|
|
|
|
2013-11-19 09:16:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2013-11-18 23:20:29 +00:00
|
|
|
mutt_package() {
|
2013-11-19 09:16:25 +00:00
|
|
|
conf_files="/etc/Muttrc"
|
|
|
|
depends="mime-types"
|
2013-11-18 22:47:33 +00:00
|
|
|
pkg_install(){
|
2013-11-18 23:11:43 +00:00
|
|
|
vmove all
|
2013-11-18 22:47:33 +00:00
|
|
|
}
|
|
|
|
}
|