# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ F_P="nuoveXT-Firefox_1.5" G_P="nuoveXT-${PV}" K_P="nuoveXT-kde-${PV}" S="${WORKDIR}" DESCRIPTION="nuoveXT is an icon theme for GNOME, KDE and Firefox." HOMEPAGE="http://nuovext.pwsp.net/" SRC_URI="gnome? ( http://nuovext.pwsp.net/files/${G_P}.tar.gz ) kde? ( http://nuovext.pwsp.net/files/${K_P}.tar.gz ) firefox? ( http://nuovext.pwsp.net/files/${F_P}.jar )" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="firefox gnome kde" pkg_setup() { if ! ( use firefox || use gnome || use kde ) ; then einfo "To install ${CATEGORY}/${PN} you need to enable" einfo "at least one of use flags firefox, gnome or kde." die fi } src_unpack() { if use firefox ; then : fi use gnome && unpack ${G_P}.tar.gz use kde && unpack ${K_P}.tar.gz } src_compile() { : } src_install() { cd ${S} dodir /usr/share/icons/nuoveXT rm {${G_P},${K_P}}/{*~,GPL*} use gnome && cp -r ${G_P}/* ${D}/usr/share/icons/nuoveXT use kde && cp -r ${K_P}/* ${D}/usr/share/icons/nuoveXT }