You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
976 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmnd/wmnd-0.4.13.ebuild,v 1.7 2010/09/06 12:56:10 s4t4n Exp $
EAPI=3
IUSE="snmp"
DESCRIPTION="WindowMaker Network Devices (dockapp)"
HOMEPAGE="http://www.thregr.org/~wavexx/software/wmnd/"
SRC_URI="http://www.thregr.org/~wavexx/software/wmnd/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
RDEPEND="x11-libs/libX11
x11-libs/libXext
x11-libs/libXt
x11-libs/libXpm
snmp? ( >=net-analyzer/net-snmp-5.2.1 )"
DEPEND="${RDEPEND}
x11-proto/xextproto"
src_configure()
{
if use snmp; then
LDFLAGS="$LDFLAGS -lcrypto"
fi
LDFLAGS="$LDFLAGS" econf
}
src_install()
{
einstall || die "make install failed"
dodoc README AUTHORS ChangeLog NEWS TODO
# gpl.info is no valid .info file. Causes errors with install-info.
rm -r "${ED}"/usr/share/info
}