| 1 |
# Copyright 1999-2005 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-psidisplays/desklet-psidisplays-20040420.ebuild,v 1.6 2005/04/19 02:41:56 nixphoeni Exp $
|
| 4 |
|
| 5 |
MY_PN="PsiDisplayPackage"
|
| 6 |
MY_P=${MY_PN}-${PV}
|
| 7 |
S=${WORKDIR}
|
| 8 |
|
| 9 |
DESCRIPTION="A CPU Monitor Sensor for gdesklets"
|
| 10 |
SRC_URI="http://gdesklets.gnomedesktop.org/files/${MY_P}.tar.gz"
|
| 11 |
HOMEPAGE="http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=38"
|
| 12 |
LICENSE="as-is"
|
| 13 |
|
| 14 |
SLOT="0"
|
| 15 |
IUSE=""
|
| 16 |
KEYWORDS="~x86 ppc ~alpha ~amd64"
|
| 17 |
|
| 18 |
DEPEND="<=gnome-extra/gdesklets-core-0.33.1
|
| 19 |
>=x11-plugins/desklet-psisensors-${PV}
|
| 20 |
>=x11-plugins/desklet-clock-0.32"
|
| 21 |
|
| 22 |
DOCS="README"
|
| 23 |
|
| 24 |
src_install() {
|
| 25 |
|
| 26 |
SYS_PATH="/usr/share/gdesklets"
|
| 27 |
dodir ${SYS_PATH}/Displays
|
| 28 |
|
| 29 |
insinto ${SYS_PATH}/Displays/${PN/2*/}
|
| 30 |
doins ${S}/psi-displays-v0.2/*.display
|
| 31 |
# removing MemoOver for now, as in corresponding psisensors
|
| 32 |
# ebuild
|
| 33 |
rm ${D}${SYS_PATH}/Displays/${PN/2*/}/memoover.display
|
| 34 |
cp -R ${S}/Themes ${D}${SYS_PATH}/
|
| 35 |
|
| 36 |
dodoc ${S}/${DOCS}
|
| 37 |
|
| 38 |
}
|
| 39 |
|