/[gentoo-x86]/app-text/crm114/crm114-20030920.ebuild
Gentoo

Contents of /app-text/crm114/crm114-20030920.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Jul 13 05:04:37 2004 UTC (14 years, 2 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
version bump thanks to: Peter Simons <simons@cryp.to> and John Hampton <pacopablo@pacopablo.com> in bug #55221

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/crm114/crm114-20030920.ebuild,v 1.5 2004/07/01 11:56:40 eradicator Exp $
4
5 IUSE="nls"
6
7 MY_P=${PN}-2003-09-20-Beta.src
8 S=${WORKDIR}/${MY_P}
9 DESCRIPTION="A powerful text processing tools, mainly used for spam filtering"
10 HOMEPAGE="http://crm114.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/crm114/${MY_P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~x86"
16
17 DEPEND=">=sys-apps/sed-4
18 virtual/libc"
19
20 src_compile() {
21 # Build TRE library.
22 cd ${S}/tre-0.5.3
23 # FIXME: for some reason, the configure script doesn't use
24 # our CFLAGS!
25 econf `use_enable nls` \
26 --disable-profile \
27 --disable-agrep \
28 --enable-system-abi \
29 --disable-shared \
30 --disable-debug \
31 --enable-static || die
32
33 emake
34
35 # Build crm114
36 cd ${S}
37 sed -i \
38 -e "s#^CFLAGS=.*#CFLAGS=${CFLAGS}#" \
39 -e "s#-ltre#-Ltre-0.5.3/lib/.libs -ltre#g" \
40 -e "s#-static##g" \
41 Makefile
42
43 emake || die
44 }
45
46 src_install() {
47 cd ${S}
48 dobin crm114 cssutil cssdiff cssmerge
49 dodoc CRM114_Mailfilter_HOWTO.txt classify_details.txt
50 dodoc colophon.txt faq.txt intro.txt knownbugs.txt
51 dodoc quickref.txt things_to_do.txt
52 }

  ViewVC Help
Powered by ViewVC 1.1.20