blob: 43986a1109e47ee047461df17381836189a4c58e (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/qlogtools/qlogtools-3.1.ebuild,v 1.1 2003/08/01 05:02:36 robbat2 Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Qmail Log processing tools"
SRC_URI="http://untroubled.org/qlogtools/${P}.tar.gz"
HOMEPAGE="http://untroubled.org/qlogtools/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~sparc ~ppc"
DEPEND="virtual/glibc"
RDEPEND=""
src_unpack() {
unpack ${A}
patch -p1 -d ${P} < ${FILESDIR}/qlogtools-3.1-errno.patch
}
src_compile() {
cd ${S}
echo "${CC} ${CFLAGS}" > conf-cc
echo "${CC} ${LDFLAGS}" > conf-ld
echo "${D}/usr/bin" > conf-bin
echo "${D}/usr/share/man/" > conf-man
emake || die
}
src_install () {
dodir /usr/bin /usr/share/man/
./installer || die "Installer failed"
dodoc ANNOUNCEMENT COPYING FILES NEWS README TARGETS VERSION
}
pkg_postinst() {
einfo "Please see /usr/share/doc/${PF}/README for configuration information"
}
|