# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmenu/wmmenu-1.2-r1.ebuild,v 1.8 2009/01/14 15:12:05 s4t4n Exp $ inherit eutils IUSE="" S=${WORKDIR}/${PN} DESCRIPTION="WindowMaker DockApp: Provides a popup menu of icons like in AfterStep, as a dockable application." SRC_URI="http://www.fcoutant.freesurf.fr/download/${P}.tar.gz" HOMEPAGE="http://www.fcoutant.freesurf.fr/wmmenu.html" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 x86" DEPEND="x11-libs/libdockapp" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-support-libdockapp-0.5.0.patch epatch "${FILESDIR}"/${P}-Makefile.patch } src_compile() { emake EXTRACFLAGS="${CFLAGS}" || die "Compilation failed" } src_install() { dobin wmmenu doman wmmenu.1 dodoc README TODO example/apps example/defaults example/extract_icon_back }