summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Mehnert <hannes@gentoo.org>2002-10-31 23:07:04 +0000
committerHannes Mehnert <hannes@gentoo.org>2002-10-31 23:07:04 +0000
commit9c4821ac7e727e2757c1d2351f1c19d208c89981 (patch)
tree060bfa4c63224bdcfc08c7edc24dfd45eb6ed563 /net-misc/whois/whois-4.5.31.ebuild
parentXft-1.1 fix (diff)
downloadgentoo-2-9c4821ac7e727e2757c1d2351f1c19d208c89981.tar.gz
gentoo-2-9c4821ac7e727e2757c1d2351f1c19d208c89981.tar.bz2
gentoo-2-9c4821ac7e727e2757c1d2351f1c19d208c89981.zip
version bump
Diffstat (limited to 'net-misc/whois/whois-4.5.31.ebuild')
-rw-r--r--net-misc/whois/whois-4.5.31.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/net-misc/whois/whois-4.5.31.ebuild b/net-misc/whois/whois-4.5.31.ebuild
new file mode 100644
index 000000000000..e45947f57227
--- /dev/null
+++ b/net-misc/whois/whois-4.5.31.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.5.31.ebuild,v 1.1 2002/10/31 23:07:04 hannes Exp $
+
+MY_P=${P/-/_}
+DESCRIPTION="improved Whois Client"
+SRC_URI="http://www.linux.it/~md/software/${MY_P}.tar.gz"
+HOMEPAGE="http://www.linux.it/~md/software/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+DEPEND=">=sys-devel/perl-5"
+RDEPEND="virtual/glibc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed \
+ -e "s/-O2/$CFLAGS/" \
+ Makefile.orig > Makefile
+
+ use nls && ( \
+ cd po
+ cp Makefile Makefile.orig
+ sed -e "s:/usr/bin/install:/bin/install:" \
+ Makefile.orig > Makefile
+ ) || ( \
+ cp Makefile Makefile.orig
+ sed "s:cd po.*::" \
+ Makefile.orig > Makefile
+ )
+
+}
+
+src_compile() {
+
+ make || die
+ make mkpasswd || die
+
+}
+
+src_install() {
+ dodir /usr/bin
+ dodir /usr/share/man/man1
+ use nls && dodir /usr/share/locale
+ make BASEDIR=${D} prefix=/usr mandir=/usr/share/man install || die
+
+ dobin mkpasswd
+ doman mkpasswd.1
+ dodoc README TODO debian/changelog debian/copyright
+
+}