/[gentoo-x86]/net-misc/whois/whois-4.6.6-r3.ebuild
Gentoo

Contents of /net-misc/whois/whois-4.6.6-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Oct 16 18:08:05 2004 UTC (16 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
dont install mkpasswd #6428

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.6.6-r3.ebuild,v 1.1 2004/07/13 18:24:19 seemant Exp $
4
5 inherit eutils
6
7 IUSE="nls"
8 MY_P=${P/-/_}
9 DESCRIPTION="improved Whois Client"
10 SRC_URI="http://www.linux.it/~md/software/${MY_P}.tar.gz"
11 HOMEPAGE="http://www.linux.it/~md/software/"
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="x86 ppc sparc ~mips hppa ia64 alpha"
15
16 DEPEND=">=sys-apps/sed-4
17 >=dev-lang/perl-5"
18 RDEPEND="virtual/libc"
19
20 src_unpack() {
21 unpack ${A}
22 cd ${S}
23 sed -i "s/-O2/$CFLAGS/" Makefile
24
25 use nls && ( \
26 cd po
27 sed -i "s:/usr/bin/install:install:" Makefile
28 ) || ( \
29 sed -i "s:cd po.*::" Makefile
30 )
31
32 epatch ${FILESDIR}/${P}-gentoo-security-2.patch
33 }
34
35 src_compile() {
36 make || die
37 make mkpasswd || die
38 }
39
40 src_install() {
41 dodir /usr/bin
42 dodir /usr/share/man/man1
43 use nls && dodir /usr/share/locale
44 make BASEDIR=${D} prefix=/usr mandir=/usr/share/man install || die
45
46 dobin mkpasswd
47 doman mkpasswd.1
48 dodoc README whois.conf debian/changelog debian/copyright
49
50 einfo ""
51 einfo "The example whois.conf is located in /usr/doc/${P}"
52 einfo ""
53 }

  ViewVC Help
Powered by ViewVC 1.1.20