Commit | Line | Data |
---|---|---|
3dc6725e VM |
1 | # Description: Text-based email client that sucks less |
2 | # URL: http://www.mutt.org | |
3 | # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: gdbm ncurses openssl zlib | |
6 | ||
7 | name=mutt | |
8 | version=1.5.20 | |
9 | release=1 | |
10 | source=(ftp://ftp.mutt.org/mutt/devel/$name-$version.tar.gz \ | |
11 | ${name}rc.man.middle) | |
12 | ||
13 | build () { | |
14 | cd $name-$version | |
15 | sed '/^SUBDIRS/ s/doc//' -i Makefile.am | |
8b11d8a6 VM |
16 | export oldincludedir"=I$CLFS/usr/include" |
17 | export CPPFLAGS="-I$CLFS/usr/include" | |
18 | export CFLAGS="-I$CLFS/usr/include" | |
3dc6725e VM |
19 | ./configure --build=$CHOST \ |
20 | --host=$CTARGET \ | |
21 | --prefix=/usr \ | |
22 | --mandir=/usr/man \ | |
23 | --with-docdir=/usr/share/mutt \ | |
24 | --with-mailpath=/var/spool/mail \ | |
25 | --enable-imap \ | |
26 | --enable-smtp \ | |
27 | --enable-pop \ | |
28 | --with-ssl \ | |
29 | --disable-nls | |
30 | make | |
31 | make DESTDIR=$PKG install | |
32 | ||
33 | install -D -m 0644 doc/Muttrc $PKG/usr/etc/Muttrc | |
34 | install -D -m 0644 doc/$name.man $PKG/usr/man/man1/$name.1 | |
35 | install -d $PKG/usr/man/man5 | |
36 | cat doc/${name}rc.man.head $SRC/${name}rc.man.middle \ | |
37 | doc/${name}rc.man.tail > $PKG/usr/man/man5/${name}rc.5 | |
38 | rm $PKG/usr/bin/{flea,muttbug} | |
39 | rm $PKG/usr/etc/*.dist | |
40 | rm -r $PKG/usr/share | |
41 | } |