# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Gadmin-DHCP is an easy to use GTK+ administration tool for ISC DHCPD." HOMEPAGE="www.gadmintools.org" SRC_URI="http://mange.dynalias.org/linux/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="net-misc/dhcp" RDEPEND="${DEPEND}" src_unpack() { if [ "${A}" != "" ]; then unpack ${A} fi } src_compile() { if [ -x ./configure ]; then econf fi if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then emake || die "emake failed" fi } src_install() { emake DESTDIR="${D}" install || die "Install failed" }