blob: b7402ef9a1032883d38005cb573a893a0d0527d6 (
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
36
37
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils
DEBIAN_PV="1"
DEBIAN_P="${P/-/_}-${DEBIAN_PV}"
DESCRIPTION="Autoresponder add on package for qmailadmin"
HOMEPAGE="http://inter7.com/devel/"
SRC_URI="mirror://sourceforge/qmailadmin/${P}.tar.gz
mirror://debian/pool/contrib/${PN:0:1}/${PN}/${DEBIAN_P}.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc s390 sh sparc x86"
IUSE=""
RDEPEND="virtual/qmail"
DEPEND=""
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 || die "dobin failed"
into /usr
dodoc README help_message qmail-auto ChangeLog
doman *.1
}
|