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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Dec 8 21:38:37 2003 UTC (16 years, 10 months ago) by mholzer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
cleanup

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

  ViewVC Help
Powered by ViewVC 1.1.20