# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/whatmask/whatmask-1.2-r1.ebuild,v 1.6 2011/06/25 18:42:23 armin76 Exp $ EAPI="2" inherit toolchain-funcs DESCRIPTION="little C program to compute different subnet mask notations" HOMEPAGE="http://www.laffeycomputer.com/whatmask.html" SRC_URI="http://downloads.laffeycomputer.com/current_builds/whatmask/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 hppa ppc sparc x86" IUSE="" src_prepare() { tc-export CC } src_install() { emake DESTDIR="${D}" install || die dodoc README INSTALL AUTHORS ChangeLog NEWS }