version bump
authorHannes Mehnert <hannes@gentoo.org>
Thu, 31 Oct 2002 23:07:04 +0000 (23:07 +0000)
committerHannes Mehnert <hannes@gentoo.org>
Thu, 31 Oct 2002 23:07:04 +0000 (23:07 +0000)
net-misc/whois/ChangeLog
net-misc/whois/files/digest-whois-4.5.31 [new file with mode: 0644]
net-misc/whois/whois-4.5.31.ebuild [new file with mode: 0644]

index 74d3b2bd3849a1d76d4a78dbcef24459f1943c2c..15ccfabfe67014494b354d0df436996a1b72e4fa 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for net-misc/whois
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.4 2002/07/09 11:28:56 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.5 2002/10/31 23:07:04 hannes Exp $
+
+  31 Oct 2002; Hannes Mehnert <hannes@gentoo.org> whois-4.5.31.ebuild,
+  files/digest-whois-4.5.31: version bump
 
 *whois-4.5.28-r1 (1 Jul 2002)
 
diff --git a/net-misc/whois/files/digest-whois-4.5.31 b/net-misc/whois/files/digest-whois-4.5.31
new file mode 100644 (file)
index 0000000..a0b6978
--- /dev/null
@@ -0,0 +1 @@
+MD5 6a69ddb8e143cb6bdc0da720e1d02d06 whois_4.5.31.tar.gz 34560
diff --git a/net-misc/whois/whois-4.5.31.ebuild b/net-misc/whois/whois-4.5.31.ebuild
new file mode 100644 (file)
index 0000000..e45947f
--- /dev/null
@@ -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
+
+}