/[gentoo-x86]/sys-apps/findutils/findutils-4.1.7-r1.ebuild
Gentoo

Contents of /sys-apps/findutils/findutils-4.1.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sun Dec 15 10:44:21 2002 UTC (17 years, 7 months ago) by bjb
Branch: MAIN
CVS Tags: GENTOO_1_4_SNAP_2003010800
Changes since 1.10: +2 -2 lines
During removal of sparc64 keywords from the ebuilds a bad sed introduced problematic KEYWORDS line that contained an illegal character before the alpha keyword. Fixed.

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.1.7-r1.ebuild,v 1.10 2002/12/09 04:37:24 manson Exp $
4
5 IUSE="nls build"
6
7 S=${WORKDIR}/${P}
8 DESCRIPTION="GNU utilities to find files"
9 SRC_URI="ftp://alpha.gnu.org/gnu/${P}.tar.gz"
10 HOMEPAGE="http://www.gnu.org/software/findutils/findutils.html"
11 KEYWORDS="x86 ppc sparc alpha"
12 SLOT="0"
13 LICENSE="GPL-2"
14
15 DEPEND="virtual/glibc
16 nls? ( sys-devel/gettext )"
17 RDEPEND="virtual/glibc"
18
19 src_compile() {
20
21 local myconf
22
23 use nls || myconf="${myconf} --disable-nls"
24
25 ./configure --host=${CHOST} \
26 --prefix=/usr \
27 --localstatedir=/var/spool/locate \
28 ${myconf} || die
29
30 emake libexecdir=/usr/lib/find || die
31 }
32
33 src_install() {
34 #do not change 'localstatedir=/var/spool/locate' to
35 #'localstatedir=${D}/var/spool/locate', as it will then be hardcoded
36 #into locate and updatedb
37 make prefix=${D}/usr \
38 mandir=${D}/usr/share/man \
39 infodir=${D}/usr/share/info \
40 localstatedir=/var/spool/locate \
41 libexecdir=${D}/usr/lib/find \
42 install || die
43
44 dosed "s:TMPDIR=/usr/tmp:TMPDIR=/tmp:" usr/bin/updatedb
45 rm -rf ${D}/usr/var
46 if [ -z "`use build`" ]
47 then
48 dodoc COPYING NEWS README TODO ChangeLog
49 else
50 rm -rf ${D}/usr/share
51 fi
52 dodir /var/spool/locate
53 touch ${D}/var/spool/locate/.keep
54 }
55

  ViewVC Help
Powered by ViewVC 1.1.20