summaryrefslogtreecommitdiff
path: root/mutt/mutt_1.5.4i.oe
blob: 779f06dd583010d0131a03a44c637e1ec2bca4e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DEPENDS = virtual/libc ncurses openssl
RDEPENDS = libc6 libncurses5 libssl0

SRC_URI := ftp://ftp.mutt.org/mutt/devel/mutt-1.5.4i.tar.gz \
	   http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.rr.compressed.gz;patch=1 \
	   http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.vvv.nntp.gz;patch=1 \
	   http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.vvv.initials.gz;patch=1 \
	   http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.vvv.quote.gz;patch=1 \
	   file://${FILESDIR}/cppflags.patch;patch=1 \
	   file://${FILESDIR}/posix1_lim.patch;patch=1 \
	   file://${FILESDIR}/configure.patch;patch=1
S := ${WORKDIR}/${PN}-1.5.4

inherit autotools

EXTRA_OECONF = --disable-pgp --without-mixmaster --with-curses=${STAGING_DIR}/target \
	       --enable-pop --enable-imap --with-ssl --enable-compressed --enable-nntp

do_configure_prepend () {
	if [ -d ${STAGING_DIR}/share/aclocal ]; then
		cp -a m4/*.m4 ${STAGING_DIR}/share/aclocal/
	fi
}

do_compile_prepend () {
	${BUILD_CC} makedoc.c -o makedoc
}