summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-09-27 13:29:25 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-09-27 13:29:25 +0000
commitb531c425a76ffa10f6958bcf4eafd41d24c7cd4e (patch)
tree63eccbb2065d5b59ccf629c714db4945f04a0a4b /app-admin
parentUse EAPI=2 and SRC_URI arrow in 4.3 to put version in the distfile's filename... (diff)
downloadgentoo-2-b531c425a76ffa10f6958bcf4eafd41d24c7cd4e.tar.gz
gentoo-2-b531c425a76ffa10f6958bcf4eafd41d24c7cd4e.tar.bz2
gentoo-2-b531c425a76ffa10f6958bcf4eafd41d24c7cd4e.zip
Use EAPI 2 use dependencies instead of built_with_use.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/analog/ChangeLog9
-rw-r--r--app-admin/analog/analog-6.0-r1.ebuild55
2 files changed, 62 insertions, 2 deletions
diff --git a/app-admin/analog/ChangeLog b/app-admin/analog/ChangeLog
index 9ae1c962f81f..b7607d804911 100644
--- a/app-admin/analog/ChangeLog
+++ b/app-admin/analog/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/analog
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/analog/ChangeLog,v 1.34 2007/02/21 19:33:56 peper Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/analog/ChangeLog,v 1.35 2008/09/27 13:29:25 betelgeuse Exp $
+
+*analog-6.0-r1 (27 Sep 2008)
+
+ 27 Sep 2008; Petteri Räty <betelgeuse@gentoo.org> +analog-6.0-r1.ebuild:
+ Use EAPI 2 use dependencies instead of built_with_use.
21 Feb 2007; <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/app-admin/analog/analog-6.0-r1.ebuild b/app-admin/analog/analog-6.0-r1.ebuild
new file mode 100644
index 000000000000..e0de66a79443
--- /dev/null
+++ b/app-admin/analog/analog-6.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/analog/analog-6.0-r1.ebuild,v 1.1 2008/09/27 13:29:25 betelgeuse Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="A webserver log analyzer"
+HOMEPAGE="http://www.analog.cx/"
+SRC_URI="http://www.analog.cx/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/libpcre-3.4
+ >=media-libs/gd-1.8.4-r2[jpeg,png]
+ sys-libs/zlib
+ media-libs/jpeg
+ media-libs/libpng"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-5.1-gentoo.diff"
+ sed -i \
+ -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" \
+ -e 's:^DEFS.*:DEFS = -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB:' \
+ -e "s:^LIBS.*:LIBS = -lgd -lz -lpcre -lm -lpng -ljpeg:" \
+ src/Makefile \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake -C src || die "make failed"
+}
+
+src_install() {
+ dobin analog || die "dobin failed"
+ newman analog.man analog.1
+
+ dodoc README.txt Licence.txt analog.cfg
+ dohtml -a html,gif,css,ico docs/*
+ dohtml -r how-to
+ docinto examples ; dodoc examples/*
+ docinto cgi ; dodoc anlgform.pl
+
+ insinto /usr/share/analog/images ; doins images/*
+ insinto /usr/share/analog/lang ; doins lang/*
+ dodir /var/log/analog
+ dosym /usr/share/analog/images /var/log/analog/images
+ insinto /etc/analog ; doins "${FILESDIR}/analog.cfg"
+}