Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 38156 | Differences between
and this patch

Collapse All | Expand All

(-)elm-2.4_rc100.ebuild (-9 / +35 lines)
Lines 1-10 Link Here
1
# Copyright 1999-2004 Gentoo Foundation
1
# Copyright 1999-2004 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/mail-client/elm/elm-2.4_rc100.ebuild,v 1.4 2004/07/01 19:48:22 eradicator Exp $
3
# $Header: $
4
5
# HORRIBLY SORRY FOR THIS!  BUT I WANT THE EBUILD AND IT DOESN'T
6
# HURT ANYTHING!  I PROMISE! :) - raker@gentoo.org
7
export SANDBOX_DISABLED="1"
8
4
9
DESCRIPTION="a classic mail client enhanced by Michael Elkins"
5
DESCRIPTION="a classic mail client enhanced by Michael Elkins"
10
HOMEPAGE="http://www.ozone.fmi.fi/KEH/"
6
HOMEPAGE="http://www.ozone.fmi.fi/KEH/"
Lines 12-18 Link Here
12
8
13
LICENSE="Elm"
9
LICENSE="Elm"
14
SLOT="0"
10
SLOT="0"
15
KEYWORDS="x86 ~sparc ~ppc alpha"
11
KEYWORDS="~x86 ~sparc ~ppc ~alpha"
16
12
17
IUSE="spell"
13
IUSE="spell"
18
14
Lines 25-36 Link Here
25
21
26
src_compile() {
22
src_compile() {
27
23
28
	cp Configure Configure.orig
24
	sed -i -e "s:\$shlib:${D}\$shlib:g" \
29
	sed -e "s:install_prefix/man:install_prefix/share/man:" \
25
		lib/Makefile.SH
26
27
	sed -i -e "s:\$shlib:${D}\$shlib:g" \
28
		shared_libs/iconv/Makefile.SH
29
30
	sed -i -e "s:\$shlib:${D}\$shlib:g" \
31
		shared_libs/smtp/Makefile.SH
32
33
	sed -i -e "s:\$shlib:${D}\$shlib:g" \
34
		shared_libs/tls/Makefile.SH
35
36
	sed -i -e "s:elmunidata -I :elmunidata -w ${D}usr/lib/elm.map.bin/unidata.bin :" \
37
	    -e "s:\$lib$:${D}\$lib:" \
38
		src/Makefile.SH
39
40
	sed -i -e "s:\$lib$:${D}\$lib:" \
41
		utils/Makefile.SH
42
43
	sed -i -e "s:\"\$lib\":\"${D}\$lib\":" \
44
	    -e "s:\$lib$:${D}\$lib:" \
45
		doc/Makefile.SH
46
47
	sed -e "s:helphome\t\"\$lib:helphome\t\"${D}\$lib:" \
48
	    -e "s:\"\$lib/elmrc-info:\"${D}\$lib/elmrc-info:" \
49
	    -e "s:\$shlib:${D}\$shlib:" \
50
		hdrs/sysdefs.SH
51
52
	sed -i -e "s:install_prefix/man:install_prefix/share/man:" \
30
		-e "s:etc=\"\$lib\":etc=\"/etc/elm\":" \
53
		-e "s:etc=\"\$lib\":etc=\"/etc/elm\":" \
31
		-e "s:dflt=\"-O\":dflt=\"${CFLAGS}\":" \
54
		-e "s:dflt=\"-O\":dflt=\"${CFLAGS}\":" \
32
		-e "s:dflt=cc:dflt=gcc:" \
55
		-e "s:dflt=cc:dflt=gcc:" \
33
		< Configure.orig > Configure
56
		Configure
34
57
35
	local myconf
58
	local myconf
36
	use spell && myconf="ispell=\'y\'"
59
	use spell && myconf="ispell=\'y\'"
Lines 58-61 Link Here
58
		MAN=${D}usr/share/man/man1 \
81
		MAN=${D}usr/share/man/man1 \
59
		CATMAN=${D}usr/share/man/cat1 \
82
		CATMAN=${D}usr/share/man/cat1 \
60
		ETC=${D}etc/elm install || die "make install failed"
83
		ETC=${D}etc/elm install || die "make install failed"
84
85
	insinto /usr/lib/elm.map.txt
86
	doins charset/MAPPINGS/ISO8859/*
61
}
87
}

Return to bug 38156