# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Arpstar dockapp for alert visualization" HOMEPAGE="http://arpstar.sourceforge.net" SRC_URI="mirror://sourceforge/arpstar/${PN}-alpha1.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/logger x11-libs/libX11 x11-libs/libXpm x11-proto/xextproto" RDEPEND="net-misc/arpstar" src_compile() { cd ${WORKDIR}/${PN}_wa_alpha1 emake || die "emake failed" } src_install() { cd ${WORKDIR}/${PN}_wa_alpha1 emake DESTDIR="${D}" LOCAL_BINDIR="/usr/bin" install || die "make install failed" dodoc arpstar-syslog-ng.conf } pkg_postinst() { einfo "You have to change your system logger's configuration" einfo "to make wmarpstar work.Have a look at" einfo "/usr/share/doc/${PF}/ for a sample configuration for syslog-ng." }