public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] analog ebuild fix
@ 2001-12-25 11:03 Vitaly Kushneriuk
  2001-12-25 20:22 ` Mikael Hallendal
  0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Kushneriuk @ 2001-12-25 11:03 UTC (permalink / raw
  To: Gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

Hi.
analog-5.03.ebuild missed lang directory, so I added it to the install,
also patching Makefile to set LANGDIR to /usr/share/analog-.../lang/
and CONFIG dir to /etc/ (both were null)

Regards,
	Vitaly.

[-- Attachment #2: analog-5.03-r1.ebuild --]
[-- Type: text/plain, Size: 1529 bytes --]

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Donny Davies <woodchip@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/app-admin/analog/analog-5.03.ebuild,v 1.3 2001/10/10 20:21:07 woodchip Exp

S=${WORKDIR}/${P}
DESCRIPTION="The most popular logfile analyser in the world"
SRC_URI="http://www.analog.cx/${P}.tar.gz"
HOMEPAGE="http://www.analog.cx/"

DEPEND="virtual/glibc
	>=dev-libs/libpcre-3.4
	>=media-libs/libgd-1.8.3
	>=sys-libs/zlib-1.1.3"

src_unpack() {
	unpack ${A} ; cd ${S}
	mv src/Makefile src/Makefile.orig
	sed -e "s/CFLAGS = -O2  /CFLAGS = ${CFLAGS}/" \
	    -e 's:DEFS = :DEFS = -DHAVE_GD -DHAVE_PCRE:' \
	    -e 's:DEFS = :DEFS = -DLANGDIR=\\"/usr/share/analog/lang/\\" :' \
	    -e 's:DEFS = :DEFS = -DCONFIGDIR=\\"/etc/\\" :' \
	    -e "s/LIBS = -lm/LIBS = -lgd -lpng -ljpeg -lz -lpcre -lm/" \
	    src/Makefile.orig > src/Makefile
}

src_compile() {
	cd src ; emake ; assert "couldnt compile :("
}

src_install () {
	dobin analog ; newman analog.man analog.1

	dodoc README.txt Licence.txt analog.cfg
	insinto /usr/share/doc/${PF}/html_manual ; doins docs/favicon.ico docs/*.{html,gif,css}
	insinto /usr/share/doc/${PF}/cgi_interface ; doins anlgform.html anlgform.pl
	insinto /usr/share/doc/${PF}/sample_configs ; doins examples/*
	insinto /usr/share/doc/${PF}/report_images ; doins images/*
	insinto /usr/share/${PF}/lang ; doins lang/*
	cp -a how-to ${D}/usr/share/doc/${PF}

}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] analog ebuild fix
  2001-12-25 11:03 [gentoo-dev] analog ebuild fix Vitaly Kushneriuk
@ 2001-12-25 20:22 ` Mikael Hallendal
  2001-12-26  7:17   ` Vitaly Kushneriuk
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael Hallendal @ 2001-12-25 20:22 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

tis 2001-12-25 klockan 12.03 skrev Vitaly Kushneriuk:
> Hi.

Hi!

These kind of mails should go to gentoo-ebuild rather than the
developers list. Also, please send a patch instead of the entire ebuild,
since it saves the developer from making the diff themeselfs.

Here is how you do it:

diff -u oldfile newfile > file.diff

Regards,
  Mikael Hallendal

-- 

Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
CodeFactory AB, Stockholm, Sweden


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] analog ebuild fix
  2001-12-25 20:22 ` Mikael Hallendal
@ 2001-12-26  7:17   ` Vitaly Kushneriuk
  0 siblings, 0 replies; 3+ messages in thread
From: Vitaly Kushneriuk @ 2001-12-26  7:17 UTC (permalink / raw
  To: Gentoo-dev

> Here is how you do it:
> 
> diff -u oldfile newfile > file.diff
> 
Yes, I know, but I was in a hurry and had no
original source around, and rsync is slow and unstable (for me).
And yes, you right it should go to ebuild list, and that's
where I posted correction.
Regards
	/Vitaly


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-26  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-25 11:03 [gentoo-dev] analog ebuild fix Vitaly Kushneriuk
2001-12-25 20:22 ` Mikael Hallendal
2001-12-26  7:17   ` Vitaly Kushneriuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox