You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/xfishtank/xfishtank-2.1.ebuild

43 lines
1.0 KiB

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfishtank/xfishtank-2.1.ebuild,v 1.13 2009/05/04 09:16:05 nelchael Exp $
inherit eutils
MY_P=${P}tp
DESCRIPTION="Turns your root window into an aquarium."
HOMEPAGE="http://www.ibiblio.org/pub/Linux/X11/demos/"
SRC_URI="http://www.ibiblio.org/pub/Linux/X11/demos/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="ppc ppc64 x86"
IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXt
x11-libs/libXext"
DEPEND="${RDEPEND}
x11-proto/xproto
x11-misc/makedepend"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
epatch "${FILESDIR}/${MY_P}-Makefile.patch"
cd "${S}"
sed -i -e 's,INSTPGMFLAGS = -s,INSTPGMFLAGS =,' Makefile || die
}
src_compile() {
makedepend || die "makedepend failed"
emake || die "emake failed"
}
src_install() {
make BINDIR=/usr/bin DESTDIR="${D}" install || die "make install failed"
dodoc README README.Linux README.TrueColor README.Why.2.1tp
}