/[gentoo-x86]/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild
Gentoo

Contents of /mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Tue May 27 16:18:07 2014 UTC (5 years, 7 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +3 -4 lines
Block dev-perl/Mail-SRS in RDEPEND not DEPEND (bug #511604).

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild,v 1.10 2012/04/17 11:56:36 naota Exp $
4
5 inherit eutils autotools
6
7 MY_PV=${PV}
8 MY_RC=${PV}
9 S=${WORKDIR}/${PN}-${MY_PV}
10
11 DESCRIPTION="Sender Rewriting Scheme library"
12 HOMEPAGE="http://srs.mirtol.com/"
13 SRC_URI="http://srs.mirtol.com/libsrs_alt-${MY_PV}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
18 IUSE=""
19
20 RDEPEND="!dev-perl/Mail-SRS"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 epatch "${FILESDIR}"/${P}-ftime.patch
26 eautoreconf
27 }
28
29 src_compile() {
30 # add missing header
31 sed -i -e '/timeb.h>/ a #include <stdlib.h>' test.c
32
33 # Since the primary intended consumers of this library are MTAs,
34 # use non-standard separator characters (--with-base64compat).
35 # This breaks "SRS Compliancy", which is a rough standard at
36 # best.
37 econf --with-base64compat || die "econf failed"
38 emake -j1 || die "emake failed"
39 }
40
41 src_install() {
42 make install DESTDIR="${D}" || die "make install failed"
43 dodoc "${S}"/MTAs/README.EXIM
44 }

  ViewVC Help
Powered by ViewVC 1.1.20