forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ask-2.5.3.ebuild
41 lines (30 loc) · 1007 Bytes
/
ask-2.5.3.ebuild
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
38
39
40
41
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit multilib
DESCRIPTION="Active Spam Killer: A program to filter spam"
HOMEPAGE="http://www.paganini.net/ask/index.html"
SRC_URI="mirror://sourceforge/a-s-k/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="procmail"
RDEPEND="dev-lang/python
virtual/mta
procmail? ( >=mail-filter/procmail-3.22 )"
src_install() {
dobin askfilter asksetup askversion.py utils/asksenders
insinto /usr/$(get_libdir)/ask
doins askconfig.py asklock.py asklog.py askmail.py askmain.py \
askmessage.py askremote.py
insinto /usr/share/ask/templates
doins templates/*
insinto /usr/share/ask/utils
doins utils/*
doman docs/*.1
dodoc ChangeLog docs/ask_doc*
}
pkg_postinst() {
elog "You MUST run the asksetup file to configure ASK!"
elog "WARNING: if you upgrade from ask-2.4.1, you must replace ask.py with askfilter"
elog " in your procmail/maildrop recipe!"
}