summaryrefslogtreecommitdiff
blob: 1a802196c59461fcb47f667f26b0a55c97fcbbaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/autorespond/autorespond-2.0.4.ebuild,v 1.11 2004/12/13 23:36:15 ticho Exp $

inherit eutils

DESCRIPTION="Autoresponder add on package for qmailadmin"
DEBIAN_PV="1"
DEBIAN_P="${P/-/_}-${DEBIAN_PV}"
SRC_URI="mirror://sourceforge/qmailadmin/${P}.tar.gz
		 mirror://debian/pool/contrib/${PN:0:1}/${PN}/${DEBIAN_P}.diff.gz"
HOMEPAGE="http://inter7.com/devel/"
KEYWORDS="x86 alpha ~hppa ia64 ~mips ~ppc ~sparc amd64"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
RDEPEND="mail-mta/qmail"
DEPEND="sys-devel/gcc virtual/libc"

src_unpack() {
	unpack ${P}.tar.gz
	epatch ${DISTDIR}/${DEBIAN_P}.diff.gz
}

src_compile() {
	emake CFLAGS="${CFLAGS}" || die
}

src_install () {
	into /var/qmail
	dobin autorespond
	into /usr
	dodoc README help_message qmail-auto ChangeLog
	doman *.1
}