blob: 93f691a0f8d82bed0cdcbc67b8237e758b5b34f8 (
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
47
48
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Joshua Pierre <joshua@swool.com>
# /space/gentoo/cvsroot/gentoo-x86/app-admin/fam-oss/fam-oss-2.6.7-r1.ebuild,v 1.2 2002/06/02 04:06:49 prez Exp
inherit libtool
MY_P=${P/-oss/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="FAM, the File Alteration Monitor."
SRC_URI=ftp://oss.sgi.com/projects/fam/download/${MY_P}.tar.gz"
ftp://oss.sgi.com/projects/fam/download/contrib/dnotify.patch"
HOMEPAGE="http://oss.sgi.com/projects/fam/"
KEYWORDS="x86 alpha"
SLOT="0"
LICENSE="GPL-2 LGPL-2.1"
DEPEND=">=sys-devel/perl-5.6.1"
RDEPEND=">=net-nds/portmap-5b-r6"
src_unpack() {
unpack ${MY_P}.tar.gz
cd ${S}
patch -p1 < ${DISTDIR}/dnotify.patch || die
patch -p1 < ${FILESDIR}/${PF}-gcc3.patch || die
cp ${FILESDIR}/${PF}-aclocal.m4 aclocal.m4
elibtoolize
aclocal
autoconf
autoheader
automake --add-missing
}
src_install() {
cp fam/fam.conf fam/fam.conf.old
sed s:"local_only = false":"local_only = true":g fam/fam.conf.old >fam/fam.conf
make DESTDIR=${D} \
install || die
exeinto /etc/init.d
doexe ${FILESDIR}/fam
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS TODO README*
}
|