/[gentoo-x86]/net-mail/pine-maildir/pine-maildir-4.21-r2.ebuild
Gentoo

Contents of /net-mail/pine-maildir/pine-maildir-4.21-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 30 11:35:56 2001 UTC (13 years, 6 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/net-mail/pine-maildir/pine-maildir-4.21-r2.ebuild,v 1.1 2000/11/14 15:53:27 achim Exp $
5
6 P=pine-maildir-4.21
7 A="pine4.21.tar.gz pine-4.20-maildir_3.patch"
8 S=${WORKDIR}/pine4.21
9 DESCRIPTION="Pine, Pico, Pilot, imapd"
10 SRC_URI="ftp://ftp.cac.washington.edu/pine/pine4.21.tar.gz
11 ftp://158.195.33.220/pub/pine/pine-4.20-maildir_3.patch"
12 HOMEPAGE="http://www.washington.edu/pine/"
13
14 DEPEND=">=sys-libs/glibc-2.1.3
15 >=sys-libs/gpm-1.19.3
16 >=sys-libs/ncurses-5.1
17 >=sys-libs/pam-0.72"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 patch -p1 < ${DISTDIR}/pine-4.20-maildir_3.patch
23 cd ${S}/pine
24 cp makefile.lnx makefile.orig
25 sed -e "s:-g -DDEBUG:${CFLAGS}:" makefile.orig > makefile.lnx
26
27 if [ -n "`use glibc22`" ]
28 then
29 echo "Using glibc-2.2"
30 cp ${FILESDIR}/os.c osdep/os-lnx.c
31 cp ${FILESDIR}/filter.c filter.c
32 fi
33
34 cd ${S}/pico
35 cp makefile.lnx makefile.orig
36 sed -e "s:-g -DDEBUG:${CFLAGS}:" makefile.orig > makefile.lnx
37
38
39 }
40
41 src_compile() {
42 ./build lnp
43 }
44
45 src_install() {
46 cd ${S}
47 into /usr
48 dobin bin/pine bin/pico bin/pilot bin/mtest
49 dosbin bin/imapd
50
51 doman doc/pico.1 doc/pine.1
52
53 insinto /etc
54 doins doc/mime.types
55 donewins doc/mailcap.unx mailcap
56
57 dodoc CPYRIGHT README doc/brochure.txt doc/tech-notes.txt
58 docinto imap
59 dodoc imap/docs/*.txt imap/docs/CONFIG imap/docs/FAQ imap/docs/RELNOTES
60 docinto imap/rfc
61 dodoc imap/docs/rfc/*.txt
62 docinto html/tech-notes
63 dodoc doc/tech-notes/*.html
64 }

  ViewVC Help
Powered by ViewVC 1.1.20