mutt-kz: enable sasl support; provides/replaces mutt.

This commit is contained in:
Juan RP 2014-11-07 16:14:02 +01:00
parent 9ea35c1955
commit 4540025aff

View file

@ -1,36 +1,31 @@
# Template file for 'mutt-kz' # Template file for 'mutt-kz'
pkgname=mutt-kz pkgname=mutt-kz
version=20140903 version=20141107
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-notmuch --enable-pop --enable-imap --enable-smtp configure_args="--enable-notmuch --enable-pop --enable-imap --enable-smtp
--enable-hcache --enable-gpgme --with-regex --with-idn --with-ssl --enable-hcache --enable-gpgme --with-regex --with-idn --with-ssl --with-sasl
--with-gpgme-prefix=${XBPS_CROSS_BASE}/usr --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr
--with-gdbm=${XBPS_CROSS_BASE}/usr mutt_cv_regex_broken=no" --with-gdbm=${XBPS_CROSS_BASE}/usr mutt_cv_regex_broken=no"
hostmakedepends="perl pkg-config libidn-devel automake git" hostmakedepends="perl pkg-config libidn-devel automake git"
makedepends="ncurses-devel libressl-devel libidn-devel gpgme-devel libnotmuch-devel makedepends="ncurses-devel libressl-devel libidn-devel gpgme-devel
gdbm-devel mime-types" libnotmuch-devel gdbm-devel libsasl-devel"
depends="notmuch mime-types" depends="notmuch mime-types"
conf_files="/etc/Muttrc" conf_files="/etc/Muttrc"
conflicts="mutt>=0"
short_desc="mutt fork with notmuch support and another improvements" short_desc="mutt fork with notmuch support and another improvements"
maintainer="Jan S. <jan.schreib@gmail.com>" maintainer="Jan S. <jan.schreib@gmail.com>"
license="GPL-3" license="GPL-3"
homepage="https://github.com/karelzak/mutt-kz/" homepage="https://github.com/karelzak/mutt-kz/"
provides="mutt-${version}_${revision}"
replaces="mutt>=0"
do_fetch() { do_fetch() {
# latest commit as of ${version}
_githead=5b1280adbf9daa4ca4a5c092b26bd4d132ae62c1
git clone git://github.com/karelzak/mutt-kz.git ${pkgname}-${version} git clone git://github.com/karelzak/mutt-kz.git ${pkgname}-${version}
cd ${pkgname}-${version}
git reset --hard ${_githead}
} }
pre_configure() { pre_configure() {
autoreconf -fi autoreconf -fi
} }
post_install() { post_install() {
# provided by mime-types. # provided by mime-types.
rm ${DESTDIR}/etc/mime.* rm ${DESTDIR}/etc/mime.*