/[gentoo-x86]/app-admin/logsurfer+/logsurfer+-1.8-r1.ebuild
Gentoo

Contents of /app-admin/logsurfer+/logsurfer+-1.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon May 27 12:27:07 2013 UTC (21 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +4 -3 lines
Fix LICENSE and add bindist restriction, bug 444330.

(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-admin/logsurfer+/logsurfer+-1.8-r1.ebuild,v 1.3 2012/04/05 05:24:08 jdhore Exp $
4
5 EAPI="4"
6 inherit toolchain-funcs user
7
8 MY_P="logsurfer-${PV}"
9 DESCRIPTION="Real Time Log Monitoring and Alerting"
10 HOMEPAGE="http://www.crypt.gen.nz/logsurfer/"
11 SRC_URI="http://kerryt.orcon.net.nz/${MY_P}.tar.gz
12 http://www.crypt.gen.nz/logsurfer/${MY_P}.tar.gz"
13
14 LICENSE="freedist GPL-2+"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE=""
18 RESTRICT="bindist" #444330
19
20 S="${WORKDIR}/${MY_P}"
21
22 src_configure() {
23 econf --with-etcdir=/etc
24 }
25
26 src_compile() {
27 emake CC="$(tc-getCC)"
28 }
29
30 src_install() {
31 dobin src/logsurfer
32 doman man/logsurfer.1 man/logsurfer.conf.4
33
34 newinitd "${FILESDIR}"/logsurfer-1.8.initd logsurfer
35 newconfd "${FILESDIR}"/logsurfer.confd logsurfer
36 dodoc ChangeLog README TODO
37 }
38
39 pkg_postinst() {
40 enewuser logsurfer -1 -1 -1 daemon
41 }

  ViewVC Help
Powered by ViewVC 1.1.20