# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="blib is a library full of useful things to hack the Blinkenlights" HOMEPAGE="http://www.blinkenlights.de" SRC_URI="http://www.blinkenlights.de/dist/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="aalib gtk2 directfb" DEPEND="dev-libs/glib aalib? ( >=media-libs/aalib-1.4_rc4-r2 ) gtk2? ( >=x11-libs/gtk+-2.4.4 ) directfb? ( >=dev-libs/DirectFB-0.9.20-r1 )" src_compile() { econf \ `use_enable aalib` \ `use_enable gtk2` \ `use_enable directfb` \ || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} \ install || die "install failed" }