# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.0.3.ebuild,v 1.9 2003/08/07 03:37:53 vapier Exp $ inherit libtool gnome2 DESCRIPTION="Applets for the Gnome2 Desktop and Panel" HOMEPAGE="http://www.gnome.org/" SRC_URI="mirror://gnome/2.0.2/sources/${PN}/${P}.tar.bz2" LICENSE="GPL-2 FDL-1.1" SLOT="2" KEYWORDS="x86 ppc sparc alpha" IUSE="doc" RDEPEND=">=x11-libs/gtk+-2.0.6 >=x11-libs/libwnck-0.17 >=x11-libs/libzvt-2.0.1 >=app-text/scrollkeeper-0.3.11 >=sys-libs/ncurses-5.2-r3 >=gnome-base/gail-0.17 >=gnome-base/gconf-1.2.1 >=gnome-base/gnome-vfs-2.0.4 >=gnome-base/libgtop-2.0.0 >=gnome-base/gnome-panel-2.0.9 >=gnome-base/libglade-2.0.1" DEPEND=">=dev-util/pkgconfig-0.12.0 doc? ( dev-util/gtk-doc ) ${DEPEND}" src_compile() { elibtoolize ./configure --host=${CHOST} \ --prefix=/usr \ --sysconfdir=/etc \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --disable-install-schemas \ --enable-platform-gnome-2 \ --enable-panelmenu=yes || die make || die } src_install() { export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" make prefix=${D}/usr \ sysconfdir=${D}/etc \ infodir=${D}/usr/share/info \ mandir=${D}/usr/share/man \ localstatedir=${D}/var \ install || die unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL dodoc AUTHORS ChangeLog COPYING* README* INSTALL NEWS message-of-doom docinto battstat dodoc battstat/AUTHORS battstat/ChangeLog battstat/README battstat/TODO docinto cdplayer dodoc cdplayer/ChangeLog docinto charpic dodoc charpic/ChangeLog docinto drivemount dodoc drivemount/AUTHORS drivemount/ChangeLog docinto geyes dodoc geyes/AUTHORS geyes/ChangeLog geyes/NEWS geyes/README* docinto gkb-new dodoc gkb-new/AUTHORS gkb-new/ChangeLog gkb-new/README gkb-new/TODO docinto gtik dodoc gtik/AUTHORS gtik/README gtik/ChangeLog gtik/NEWS docinto gweather dodoc gweather/AUTHORS gweather/ChangeLog gweather/NEWS gweather/README gweather/TODO docinto mini-commander dodoc mini-commander/AUTHORS mini-commander/ChangeLog mini-commander/NEWS mini-commander/README mini-commander/TODO docinto mixer dodoc mixer/AUTHORS mixer/ChangeLog docinto modemlights dodoc modemlights/AUTHORS modemlights/ChangeLog modemlights/TODO docinto multiload dodoc multiload/AUTHORS multiload/ChangeLog } pkg_postinst() { gnome2_gconf_install scrollkeeper-update -p /var/lib/scrollkeeper }