diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-03-24 10:53:09 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-03-26 17:45:43 +0100 |
commit | 1bc187d80fea3a2c2910bb38f16f8bed96874200 (patch) | |
tree | f8b117fb2b0d4c9a3e21c7e50858c4ff4836e762 /app-admin/analog/analog-6.0.13.ebuild | |
parent | app-admin/analog: fix HOMEPAGE and SRC_URI. (diff) | |
download | gentoo-1bc187d80fea3a2c2910bb38f16f8bed96874200.tar.gz gentoo-1bc187d80fea3a2c2910bb38f16f8bed96874200.tar.bz2 gentoo-1bc187d80fea3a2c2910bb38f16f8bed96874200.zip |
app-admin/analog: version bump && EAPI7.
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-admin/analog/analog-6.0.13.ebuild')
-rw-r--r-- | app-admin/analog/analog-6.0.13.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/app-admin/analog/analog-6.0.13.ebuild b/app-admin/analog/analog-6.0.13.ebuild new file mode 100644 index 000000000000..ba814b09ba7f --- /dev/null +++ b/app-admin/analog/analog-6.0.13.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_P="${PN}-src-6013ce" + +DESCRIPTION="A webserver log analyzer" +HOMEPAGE="https://www.c-amie.co.uk/software/analog/" +SRC_URI="http://www.c-amie.co.uk/static/analog/6013/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=" + app-arch/unzip + >=dev-libs/libpcre-3.4 + >=media-libs/gd-1.8.4-r2[jpeg,png] + sys-libs/zlib" + +RDEPEND=" + ${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-5.1-gentoo.diff + "${FILESDIR}"/${PN}-6.0-bzip2.patch + "${FILESDIR}"/${PN}-6.0-undefined-macro.patch +) + +src_prepare() { + default + sed -i src/Makefile \ + -e 's| -o | $(LDFLAGS)&|g' \ + || die "sed Makefile" +} + +src_compile() { + tc-export CC + # emake in main dir just executes "cd src && make", + # i.e. MAKEOPTS are ignored + emake -C src +} + +src_install() { + newman analog.man analog.1 + + dodoc README.txt Licence.txt analog.cfg + dodoc -r examples + docinto html + dodoc docs/*.{html,gif,css,ico} + dodoc -r how-to + 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" + dobin analog +} |