diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-08-06 13:36:58 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-08-06 13:36:58 +0000 |
commit | f7b6d4819f50b4879f102516b7cb70c74fe48f61 (patch) | |
tree | b3b0ac20b8844e604613b42c60ed6f2b0c937875 /app-admin/webalizer | |
parent | updated template system prototype (diff) | |
download | historical-f7b6d4819f50b4879f102516b7cb70c74fe48f61.tar.gz historical-f7b6d4819f50b4879f102516b7cb70c74fe48f61.tar.bz2 historical-f7b6d4819f50b4879f102516b7cb70c74fe48f61.zip |
*** empty log message ***
Diffstat (limited to 'app-admin/webalizer')
-rw-r--r-- | app-admin/webalizer/webalizer-1.30-04-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/webalizer/webalizer-1.30-04-r1.ebuild b/app-admin/webalizer/webalizer-1.30-04-r1.ebuild new file mode 100644 index 000000000000..373b10eb44d3 --- /dev/null +++ b/app-admin/webalizer/webalizer-1.30-04-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-1.30-04-r1.ebuild,v 1.1 2000/08/06 13:36:58 achim Exp $ + +P=webalizer-1.30-04 +A=${P}-src.tar.bz2 +S=${WORKDIR}/${P} +CATEGORY="app-admin" +DESCRIPTION="Webalizer" +SRC_URI="ftp://ftp.mrunix.net/pub/webalizer/"${A} +HOMEPAGE="http://www.mrunix.net/webalizer/" + +src_unpack() { + unpack ${A} + cd ${S} + cp graphs.c graphs.c.orig + sed -e "s/gdImageGif.*/gdImagePng(im,out);/g" graphs.c.orig >graphs.c + cp webalizer.c webalizer.c.orig + sed -e "s/\.gif/\.png/g" webalizer.c.orig > webalizer.c + +} + +src_compile() { + cd ${S} + LDFLAGS="-lpng" ./configure --host=${CHOST} --prefix=/usr + make +} + +src_install() { + cd ${S} + into /usr + dobin webalizer + doman webalizer.1 + insinto /etc/httpd + cp sample.conf webalizer.conf + doins webalizer.conf + dodoc README* CHANGES COPYING Copyright +} + + + + + |