# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Desktop Team # Author: Jens Blaesche # /space/gentoo/cvsroot/gentoo-x86/media-video/zapping/zapping-0.6.1-r1.ebuild,v 1.3 2001/10/27 01:55:51 agriffis Exp S=${WORKDIR}/${P} DESCRIPTION="Zapping is a TV- and VBI- viewer for the Gnome environment." SRC_URI="http://prdownloads.sourceforge.net/zapping/${P}.tar.bz2" HOMEPAGE="http://zapping.sourceforge.net" DEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1 >=gnome-base/libglade-0.17-r1 >=x11-libs/gtk+-1.2.10-r4" src_compile() { ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man --host=${CHOST} || die # Fix problem with new include structure (yes Hallski, I did try your way, # but it breaks it even more :) mv src/Makefile src/Makefile.orig sed -e 's/INCLUDES \= \$(COMMON_INCLUDES)/INCLUDES \= \$(COMMON_INCLUDES) -I\/usr\/include\/libglade-1.0 /' src/Makefile.orig >src/Makefile emake || die } src_install () { make prefix=${D}/usr \ sysconfdir=${D}/etc \ infodir=${D}/usr/share/info \ mandir=${D}/usr/share/man \ PACKAGE_LIB_DIR=${D}/usr/lib/zapping \ PACKAGE_PIXMAPS_DIR=${D}/usr/share/pixmaps/zapping \ PLUGIN_DEFAULT_DIR=${D}/usr/lib/zapping/plugins \ install || die rm ${D}/usr/bin/zapzilla dosym /usr/bin/zapping /usr/bin/zapzilla dodoc AUTHORS COPYING ChangeLog NEWS README TODO }