# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="xwnc is a virtual server used in poker3d game for interface. Gtk application are renderer in this server and this server send texture to the game when the game ask them. It is based from metisse. http://insitu.lri.fr/~chapuis/metisse" HOMEPAGE="http://insitu.lri.fr/~chapuis/metisse" MY_P="${PN}_${PV}.orig.tar.gz" SRC_URI="http://pok3d.net/unstable/${MY_P}" SLOT="0" LICENSE="GPL-2.1" KEYWORDS="~x86 ~amd64" IUSE="" EPATCH_OPTS="-p1 -d ${WORKDIR}/xwnc-${PV}" DEPEND=">=sys-devel/automake-1.9.0 dev-util/pkgconfig x11-base/xorg-x11" src_unpack() { unpack ${MY_P} if ls ${FILESDIR}/*${PV}*.patch 2>/dev/null then for i in ${FILESDIR}/*${PV}*.patch do epatch $i done fi } src_compile() { autoreconf -f -i econf --disable-glx --without-fvwm-ametista emake -j1 || die } src_install () { make install DESTDIR=${D} || die "einstall failed" }