summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lutgens <lamer@gentoo.org>2001-09-25 15:58:58 +0000
committerBen Lutgens <lamer@gentoo.org>2001-09-25 15:58:58 +0000
commit4f69f70305dc75445a8fc2320f2bdfee121233f8 (patch)
treeacd6266d62aa5ecb6f80f49437ed1ce5a1b3b62a /net-misc/whatmask
parentJames Henstridge's GTK bindings for Python (diff)
downloadgentoo-2-4f69f70305dc75445a8fc2320f2bdfee121233f8.tar.gz
gentoo-2-4f69f70305dc75445a8fc2320f2bdfee121233f8.tar.bz2
gentoo-2-4f69f70305dc75445a8fc2320f2bdfee121233f8.zip
cool little c program that calculates the different subnetmask notations.
Diffstat (limited to 'net-misc/whatmask')
-rw-r--r--net-misc/whatmask/files/digest-whatmask-1.11
-rw-r--r--net-misc/whatmask/whatmask-1.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/net-misc/whatmask/files/digest-whatmask-1.1 b/net-misc/whatmask/files/digest-whatmask-1.1
new file mode 100644
index 000000000000..eb4042b8a1cf
--- /dev/null
+++ b/net-misc/whatmask/files/digest-whatmask-1.1
@@ -0,0 +1 @@
+MD5 2fa6b1bb18f037d0f9c3c8b2eed19277 whatmask-1.1.tar.gz
diff --git a/net-misc/whatmask/whatmask-1.1.ebuild b/net-misc/whatmask/whatmask-1.1.ebuild
new file mode 100644
index 000000000000..95b4a30284d8
--- /dev/null
+++ b/net-misc/whatmask/whatmask-1.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Ben Lutgens <lamer@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whatmask/whatmask-1.1.ebuild,v 1.1 2001/09/25 15:58:58 lamer Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="little C program to compute different subnet mask notations"
+SRC_URI="http://downloads.laffeycomputer.com/current_builds/whatmask/${P}.tar.gz"
+HOMEPAGE="http://www.laffeycomputer.com/whatmask.html"
+DEPEND="virtual/glibc"
+
+#RDEPEND=""
+
+src_compile() {
+ try ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST}
+
+ emake || die
+ #make || die
+}
+
+src_install () {
+
+ # try make prefix=${D}/usr install
+
+ try make DESTDIR=${D} install
+ dodoc README INSTALL AUTHORS ChangeLog NEWS
+}
+