blob: 2e56e7cab59c8bfb4bfbaf5e8acac8c5fb358f68 (
plain)
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
42
43
44
45
46
|
# 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/modlogan/modlogan-0.5.1-r1.ebuild,v 1.2 2000/08/16 04:37:52 drobbins Exp $
P=modlogan-0.5.1
A="${P}.tar.gz gd-1.8.1.tar.gz"
S=${WORKDIR}/${P}
DESCRIPTION="Logfile Analyzer"
SRC_URI="http://www.kneschke.de/projekte/modlogan/download/${P}.tar.gz
http://www.kneschke.de/projekte/modlogan/download/gd-1.8.1.tar.gz"
src_unpack() {
unpack ${A}
}
src_compile() {
cd ${S}/../gd-1.8.1
CFLAGS="$CFLAGS -I/usr/include/freetype" ./configure
make
cp .libs/libgd.so.0.0.0 libgd.so.0.0.0
ln -s libgd.so.0.0.0 libgd.so
cd ${S}
./configure --host=${CHOST} --prefix=/usr --enable-plugins \
--with-mysql=/usr --with-gd=${WORKDIR}/gd-1.8.1/ \
--with-catgets
make
}
src_install() {
cd ${S}/../gd-1.8.1
into /usr
dolib libgd.so.0.0.0
cd ${S}
make prefix=${D}/usr install
prepman
dodoc AUTHORS COPYING ChangeLog README NEWS TODO
dodoc doc/*.txt doc/*.conf doc/glosar doc/stats
docinto html
dodoc doc/*.html
}
|