From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-mail/ezmlm-idx: ChangeLog ezmlm-idx-7.0.0-r1.ebuild |
Date: | Tue, 26 Jan 2010 09:28:15 |
Message-Id: | E1NZhiV-00078v-PJ@stork.gentoo.org |
1 | robbat2 10/01/26 09:28:11 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ezmlm-idx-7.0.0-r1.ebuild |
5 | Log: |
6 | Multilib fix w/ revbump because it installed as broken. |
7 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.29 net-mail/ezmlm-idx/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ChangeLog?rev=1.29&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ChangeLog?rev=1.29&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ChangeLog?r1=1.28&r2=1.29 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v |
19 | retrieving revision 1.28 |
20 | retrieving revision 1.29 |
21 | diff -p -w -b -B -u -u -r1.28 -r1.29 |
22 | --- ChangeLog 18 Sep 2009 20:27:24 -0000 1.28 |
23 | +++ ChangeLog 26 Jan 2010 09:28:11 -0000 1.29 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for net-mail/ezmlm-idx |
26 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v 1.28 2009/09/18 20:27:24 hollow Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v 1.29 2010/01/26 09:28:11 robbat2 Exp $ |
30 | + |
31 | +*ezmlm-idx-7.0.0-r1 (26 Jan 2010) |
32 | + |
33 | + 26 Jan 2010; Robin H. Johnson <robbat2@g.o> |
34 | + +ezmlm-idx-7.0.0-r1.ebuild: |
35 | + Multilib fix w/ revbump because it installed as broken. |
36 | |
37 | 18 Sep 2009; Benedikt Böhm <hollow@g.o> ezmlm-idx-6.0.0.ebuild: |
38 | stable on amd64 wrt #265121 |
39 | |
40 | |
41 | |
42 | 1.1 net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: ezmlm-idx-7.0.0-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r1.ebuild,v 1.1 2010/01/26 09:28:11 robbat2 Exp $ |
52 | |
53 | inherit qmail multilib |
54 | |
55 | DESCRIPTION="Simple yet powerful mailing list manager for qmail" |
56 | HOMEPAGE="http://www.ezmlm.org" |
57 | SRC_URI="http://www.ezmlm.org/archive/${PV}/${P}.tar.gz" |
58 | |
59 | LICENSE="GPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" |
62 | IUSE="mysql postgres" |
63 | |
64 | DEPEND="mysql? ( virtual/mysql ) |
65 | postgres? ( virtual/postgresql-base )" |
66 | RDEPEND="${DEPEND} |
67 | virtual/qmail" |
68 | |
69 | pkg_setup() { |
70 | if use mysql && use postgres; then |
71 | die "cannot build mysql and pgsql support at the same time" |
72 | fi |
73 | } |
74 | |
75 | src_unpack() { |
76 | unpack ${A} |
77 | cd "${S}" || die |
78 | |
79 | echo /usr/bin > conf-bin |
80 | echo /usr/$(get_libdir)/ezmlm > conf-lib |
81 | echo /etc/ezmlm > conf-etc |
82 | echo /usr/share/man > conf-man |
83 | echo ${QMAIL_HOME} > conf-qmail |
84 | |
85 | echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc |
86 | echo $(tc-getCC) ${CFLAGS} -Wl,-E > conf-ld |
87 | |
88 | # fix DESTDIR and skip cat man-pages |
89 | sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \ |
90 | -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \ |
91 | -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \ |
92 | -i Makefile |
93 | } |
94 | |
95 | src_compile() { |
96 | emake it man || die "make failed" |
97 | |
98 | if use mysql; then |
99 | emake mysql || die "make mysql failed" |
100 | elif use postgres; then |
101 | emake pgsql || die "make pgsql failed" |
102 | fi |
103 | } |
104 | |
105 | src_install () { |
106 | dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man |
107 | dobin ezmlm-{cgi,checksub} |
108 | |
109 | make DESTDIR="${D}" setup || die "make setup failed" |
110 | } |