diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-30 09:15:53 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-30 09:15:53 +0000 |
commit | 25c4e4ffc09fd2cf95c7ef96d34eb663f3f0a1e4 (patch) | |
tree | 7ae100c8cb843115e966b9c12b0f2ae4be1a30a0 /app-admin/modlogan | |
parent | digest (diff) | |
download | gentoo-2-25c4e4ffc09fd2cf95c7ef96d34eb663f3f0a1e4.tar.gz gentoo-2-25c4e4ffc09fd2cf95c7ef96d34eb663f3f0a1e4.tar.bz2 gentoo-2-25c4e4ffc09fd2cf95c7ef96d34eb663f3f0a1e4.zip |
Cleanuo
Diffstat (limited to 'app-admin/modlogan')
-rw-r--r-- | app-admin/modlogan/files/digest-modlogan-0.5.7 | 2 | ||||
-rw-r--r-- | app-admin/modlogan/modlogan-0.5.7.ebuild | 85 |
2 files changed, 0 insertions, 87 deletions
diff --git a/app-admin/modlogan/files/digest-modlogan-0.5.7 b/app-admin/modlogan/files/digest-modlogan-0.5.7 deleted file mode 100644 index 2e6fb5ceab3e..000000000000 --- a/app-admin/modlogan/files/digest-modlogan-0.5.7 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 dedfa640e1229c5c2bffd61102e105b5 modlogan-0.5.7.tar.gz -MD5 46768d1d4af9f3f503f7f32ac4127c7a gd-1.8.1.tar.gz diff --git a/app-admin/modlogan/modlogan-0.5.7.ebuild b/app-admin/modlogan/modlogan-0.5.7.ebuild deleted file mode 100644 index 1c15c62671b7..000000000000 --- a/app-admin/modlogan/modlogan-0.5.7.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# 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> -# /home/cvsroot/gentoo-x86/app-admin/modlogan/modlogan-0.5.7.ebuild,v 1.4 2001/01/27 14:41:33 achim Exp - -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" - -DEPEND=">=sys-libs/glibc-2.1.3 - >=media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/libpng-1.0.7 - >=dev-libs/libpcre-3.2 - >=dev-db/mysql-3.23.26 - >=x11-base/xfree-4.0.1" - -src_unpack() { - unpack ${A} -} - -src_compile() { - cd ${S}/../gd-1.8.1 - CFLAGS="$CFLAGS -I/usr/include/freetype" try ./configure - try make - cp .libs/libgd.so.0.0.0 libgd.so.0.0.0 - ln -s libgd.so.0.0.0 libgd.so - cd ${S} - try ./configure --host=${CHOST} --prefix=/usr \ - --sysconfdir=/etc/modlogan --enable-plugins \ - --libdir=/usr/lib/modlogan \ - --with-mysql=/usr --with-gd=${WORKDIR}/gd-1.8.1/ \ - --disable-check-dynamic - try make -} - -src_install() { - cd ${S}/../gd-1.8.1 - into /usr - dolib libgd.so.0.0.0 - cd ${S} - try make prefix=${D}/usr sysconfdir=${D}/etc/modlogan \ - libdir=${D}/usr/lib/modlogan install - insinto /etc/modlogan - newins ${FILESDIR}/sample.conf modlogan.conf.sample - newins ${FILESDIR}/sample.def.conf modlogan.def.conf.sample - doins doc/modlogan.searchengines - insinto /etc/httpd - newins ${FILESDIR}/modlogan.conf httpd.modlogan - dodir /usr/local/httpd/modlogan - preplib /usr - dodoc AUTHORS COPYING ChangeLog README NEWS TODO - dodoc doc/*.txt doc/*.conf doc/glosar doc/stats - docinto html - dodoc doc/*.html -} - -pkg_postinst() { - - if [ ! -a ${ROOT}etc/modlogan/modlogan.conf ] - then - cd ${ROOT}/etc/modlogan - sed -e "s:##HOST##:${HOSTNAME}:g" \ - -e "s:##HOST2##:${HOSTNAME/./\\.}:g" \ - modlogan.conf.sample > modlogan.conf - rm modlogan.conf.sample - fi - - if [ ! -a ${ROOT}etc/modlogan/modlogan.def.conf ] - then - cd ${ROOT}/etc/modlogan - sed -e "s:##HOST##:${HOSTNAME}:g" \ - -e "s:##HOST2##:${HOSTNAME/./\\.}:g" \ - modlogan.def.conf.sample > modlogan.def.conf - rm modlogan.def.conf.sample - fi - -} - - - - - |