# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ S=${WORKDIR}/${P} DESCRIPTION="An utility to show a fading text for X. Similar to windowmaker's effect when changing workspace." SRC_URI="http://cs.joensuu.fi/~agrohn/darthfader/${P}.tar.gz" HOMEPAGE="http://cs.joensuu.fi/~agrohn/darthfader/" IUSE="" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" DEPEND="x11-base/xfree" src_unpack(){ unpack ${A} cd ${S} # check is the SHAPE extension is built in... IS_SHAPE_HERE=`xdpyinfo|grep SHAPE` if [ "${IS_SHAPE_HERE}" == "" ]; then die "X was not built with SHAPE extension!" fi # set CFLAGS... mv Makefile make.tmp sed -e 's/^CF=/CF=${CFLAGS}/' make.tmp > Makefile } src_compile() { emake || die } src_install () { exeinto /usr/bin dolib.so *.so doexe dfade dodoc README }