# Copyright 1999-2010 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.1 2010/06/02 16:51:01 jer 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 }