# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-util/showeq/showeq-5.13.7.0.ebuild,v 1.2 2009/11/26 20:54:49 maekke Exp $ EAPI=2 inherit eutils qt3 games DESCRIPTION="An Everquest monitoring program" HOMEPAGE="http://www.showeq.net/" SRC_URI="mirror://sourceforge/seq/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" DEPEND="virtual/libpcap x11-libs/qt:3" src_configure() { egamesconf \ --disable-dependency-tracking \ --disable-debug \ --disable-optimization } src_install() { emake DESTDIR="${D}" install || die "emake install failed" doman showeq.1 dodoc AUTHORS BUGS ChangeLog FAQ NEWS README ROADMAP TODO doc/*.{doc,txt} dohtml doc/map.html prepgamesdirs } pkg_postinst() { games_pkg_postinst echo elog "For complete functionality, download and extract the following" elog "files into ${GAMES_DATADIR}/${PN}" elog elog "http://patch.everquest.com:7000/patch/everquest/main/eqstr_us.txt.gz" elog "http://patch.everquest.com:7000/patch/everquest/main/spells_us.txt.gz" elog elog "or simply run the following commands..." elog " cd ${GAMES_DATADIR}/${PN}" elog " for i in eqstr_us.txt spells_us.txt; do" elog " wget --user-agent=SOEPatcher/curl \\" elog " http://patch.everquest.com:7000/patch/everquest/main/\${i}.gz" elog " gunzip \${i}.gz" elog " done" echo }