# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit base DESCRIPTION="Xarchiver is a GTK2 frontend to rar, zip, bzip2, tar, gzip and rpm" HOMEPAGE="http://xarchiver.xfce.org/" SRC_URI="mirror://sourceforge/xarchiver/xarchiver-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 amd64" IUSE="ace rar bzip2 7z zip rpm xfce" DEPEND=">=x11-libs/gtk+-2.6" RDEPEND="${DEPEND} ace? ( app-arch/unace ) rar? ( app-arch/rar ) bzip2? ( app-arch/bzip2 ) 7z? ( app-arch/p7zip ) zip? ( app-arch/zip ) rpm? ( app-arch/rpm ) xfce? ( xfce-base/thunar )" S="${WORKDIR}/${PN}" src_install() { base_src_install # Thunar hooks, remove if no xfce support wanted if ! use xfce ; then rm -r ${D}/usr/libexec fi }