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

Contents of /net-misc/whois/whois-4.5.26.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jun 25 10:39:03 2002 UTC (18 years, 4 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump - added SLOT=0 - cleaned up old versions

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Maintainer: <bangert@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/net-misc/whois/whois-4.5.26.ebuild,v 1.1 2002/05/15 14:19:58 bangert Exp $
5
6 A=whois_${PV}.tar.gz
7 S=${WORKDIR}/${P}
8 DESCRIPTION="improved Whois Client"
9 SRC_URI="ftp://ftp.debian.org/debian/pool/main/w/whois/${A}"
10 HOMEPAGE="http://www.linux.it/~md/software/"
11 LICENSE="GPL-2"
12
13 DEPEND="virtual/glibc >=sys-devel/perl-5"
14 RDEPEND="virtual/glibc"
15
16 src_unpack() {
17
18 unpack ${A}
19 cd ${S}
20 cp Makefile Makefile.orig
21 sed -e "s/-O2/$CFLAGS/" -e "s:/man/man1/:/share/man/man1/:" Makefile.orig > Makefile
22 cd po
23 cp Makefile Makefile.orig
24 sed -e "s:/usr/bin/install:/bin/install:" Makefile.orig > Makefile
25
26 }
27
28 src_compile() {
29
30 make || die
31 make mkpasswd || die
32
33 }
34
35 src_install() {
36 dodir /usr/bin
37 dodir /usr/share/man/man1
38 dodir /usr/share/locale
39 make BASEDIR=${D} prefix=/usr mandir=/usr/share/man install || die
40 dobin mkpasswd
41 doman mkpasswd.1
42 dodoc README TODO debian/changelog debian/copyright
43
44 }

  ViewVC Help
Powered by ViewVC 1.1.20