# 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.12.4.2.ebuild,v 1.2 2009/01/12 19:50:46 tupone Exp $ EAPI=1 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_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-gcc43.patch } src_compile() { egamesconf \ --disable-dependency-tracking \ --disable-debug \ --disable-optimization \ || die emake || die "emake failed" } 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 }