/[gentoo-x86]/mail-filter/imapfilter/imapfilter-2.5.2.ebuild
Gentoo

Contents of /mail-filter/imapfilter/imapfilter-2.5.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sat Aug 11 12:57:08 2012 UTC (2 years, 2 months ago) by maekke
Branch: MAIN
Changes since 1.3: +2 -2 lines
x86 stable, bug #419019

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 radhermit 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 maekke 1.4 # $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/imapfilter-2.5.2.ebuild,v 1.3 2012/08/03 11:33:06 hwoarang Exp $
4 radhermit 1.1
5     EAPI=4
6    
7     inherit toolchain-funcs
8    
9     DESCRIPTION="An IMAP mail filtering utility"
10     HOMEPAGE="http://imapfilter.hellug.gr"
11 mgorny 1.2 SRC_URI="mirror://github/lefcha/imapfilter/${P}.tar.gz"
12 radhermit 1.1
13     LICENSE="MIT"
14     SLOT="0"
15 maekke 1.4 KEYWORDS="amd64 ~ppc x86"
16 radhermit 1.1 IUSE=""
17    
18     RDEPEND="dev-libs/openssl
19     dev-libs/libpcre
20     >=dev-lang/lua-5.1"
21     DEPEND="${RDEPEND}"
22    
23     src_prepare() {
24     sed -i -e "/^PREFIX/s:/local::" \
25     -e "/^MANDIR/s:man:share/man:" \
26     -e "/^CFLAGS/s:CFLAGS =:CFLAGS +=:" \
27     -e "/^CFLAGS/s/-O//" \
28     src/Makefile || die
29     }
30    
31     src_compile() {
32     emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
33     }
34    
35     src_install() {
36     emake DESTDIR="${D}" install
37     dodoc AUTHORS NEWS README samples/*
38     doman doc/imapfilter.1 doc/imapfilter_config.5
39     }

  ViewVC Help
Powered by ViewVC 1.1.20