# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="access some Fluxbox core functions from the commandline" HOMEPAGE="http://darkshed.net/files/c_cpp/fbcmd/" SRC_URI="http://darkshed.dyndns.org/~mathias/files/c_cpp/fbcmd/${P}.tar.bz2" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="xosd" # no dependencies other than gcc, make and x11-libs # (xosd is optional and not needed for compilation) DEPEND="virtual/x11" RDEPEND="xosd? ( =x11-libs/xosd-2* )" src_compile() { # there is currently no configure included in the tarball emake || die "emake failed" } src_install() { # there is no 'make install' either, so we do it manually: cd ${S} dodoc CHANGELOG.txt README.txt exeinto /usr/bin doexe fbcmd # if 'xosd' is set, install the osd-wrapper, too: use xosd \ && newexe fbcmd_osd.sh fbcmd_osd }