# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="The bitcollider generates bitprints and metadata tags for the Bitzi community metadata project." HOMEPAGE="http://bitcollider.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="Public Domain" SLOT="0" KEYWORDS="~x86" IUSE="vorbis" DEPEND="vorbis? media-libs/libvorbis" src_unpack() { unpack ${A} cd ${P} epatch "${FILESDIR}/${P}-sandbox.patch" } src_install() { make DESTDIR=${D} install || die "make install failed" } pkg_postinst() { einfo "You should set your favorite browser in the environment" einfo "variable BROWSER in /etc/env.d and run env-update" einfo "Something like:" einfo "echo BROWSER=\"firefox %s &\" > /etc/env.d/99browser" }