Gentoo Archives: gentoo-commits

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