2013-04-24 11:10:50 +00:00
|
|
|
# Template file for 'mutt-kz'
|
|
|
|
pkgname=mutt-kz
|
2014-11-29 12:37:18 +00:00
|
|
|
version=20141129
|
2014-11-29 12:51:06 +00:00
|
|
|
revision=3
|
2013-04-24 11:10:50 +00:00
|
|
|
build_style=gnu-configure
|
2014-01-28 00:49:55 +00:00
|
|
|
configure_args="--enable-notmuch --enable-pop --enable-imap --enable-smtp
|
2014-11-07 15:14:02 +00:00
|
|
|
--enable-hcache --enable-gpgme --with-regex --with-idn --with-ssl --with-sasl
|
2014-05-14 12:58:58 +00:00
|
|
|
--with-gpgme-prefix=${XBPS_CROSS_BASE}/usr
|
|
|
|
--with-gdbm=${XBPS_CROSS_BASE}/usr mutt_cv_regex_broken=no"
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="perl pkg-config libidn-devel automake git"
|
2014-11-07 15:14:02 +00:00
|
|
|
makedepends="ncurses-devel libressl-devel libidn-devel gpgme-devel
|
2014-11-29 12:48:59 +00:00
|
|
|
libnotmuch-devel>=0.19 gdbm-devel libsasl-devel"
|
2014-11-29 12:51:06 +00:00
|
|
|
depends="notmuch mime-types"
|
2014-01-28 06:57:22 +00:00
|
|
|
conf_files="/etc/Muttrc"
|
2013-04-24 11:10:50 +00:00
|
|
|
short_desc="mutt fork with notmuch support and another improvements"
|
2014-05-14 19:18:09 +00:00
|
|
|
maintainer="Jan S. <jan.schreib@gmail.com>"
|
2013-04-24 11:10:50 +00:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://github.com/karelzak/mutt-kz/"
|
|
|
|
|
2014-11-07 15:14:02 +00:00
|
|
|
provides="mutt-${version}_${revision}"
|
|
|
|
replaces="mutt>=0"
|
2014-01-28 06:57:22 +00:00
|
|
|
|
2014-11-07 15:14:02 +00:00
|
|
|
do_fetch() {
|
2013-04-24 11:10:50 +00:00
|
|
|
git clone git://github.com/karelzak/mutt-kz.git ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2014-01-28 06:57:22 +00:00
|
|
|
post_install() {
|
|
|
|
# provided by mime-types.
|
|
|
|
rm ${DESTDIR}/etc/mime.*
|
|
|
|
# move dist to examples dir.
|
|
|
|
vmkdir usr/share/examples/${pkgname}
|
|
|
|
mv ${DESTDIR}/etc/Muttrc.dist ${DESTDIR}/usr/share/examples/${pkgname}
|
|
|
|
}
|