# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xteddy/xteddy-2.0.1.ebuild,v 1.6 2006/01/27 21:51:47 ticho Exp $ DESCRIPTION="A cuddly teddy bear (or other image) for your X desktop" HOMEPAGE="http://www.itn.liu.se/~stegu/xteddy/" SRC_URI="http://www.itn.liu.se/~stegu/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" RDEPEND="|| ( ( x11-libs/libXext x11-libs/libSM ) virtual/x11 ) media-libs/imlib" DEPEND="${RDEPEND} || ( x11-proto/xextproto virtual/x11 )" src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS README ChangeLog NEWS xteddy.README }