# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libwmfun/libwmfun-0.0.4.ebuild,v 1.9 2004/06/28 19:00:24 agriffis Exp $ inherit eutils DESCRIPTION="Additional FUN! WindowMaker library" HOMEPAGE="http://www.windowmaker.org" SRC_URI="http://www.windowmaker.org/pub/libs/${P}.tar.gz" IUSE="" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 sparc " DEPEND="virtual/libc x11-wm/windowmaker >=media-libs/freetype-2.0.9" src_unpack() { unpack ${A} cd ${WORKDIR} epatch ${FILESDIR}/proplist-freetype2.diff } src_compile() { ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" emake || die } src_install () { make DESTDIR=${D} install || die }