diff options
author | Mike Gardiner <obz@gentoo.org> | 2003-10-09 15:32:16 +0000 |
---|---|---|
committer | Mike Gardiner <obz@gentoo.org> | 2003-10-09 15:32:16 +0000 |
commit | 6040b149045c72433681168f783e6bebc710b493 (patch) | |
tree | 32e2beffbf89ba702e1f0140ce604d096bb25645 /x11-plugins/desklet-temperature/desklet-temperature-0.1.ebuild | |
parent | First commit (diff) | |
download | gentoo-2-6040b149045c72433681168f783e6bebc710b493.tar.gz gentoo-2-6040b149045c72433681168f783e6bebc710b493.tar.bz2 gentoo-2-6040b149045c72433681168f783e6bebc710b493.zip |
First commit
Diffstat (limited to 'x11-plugins/desklet-temperature/desklet-temperature-0.1.ebuild')
-rw-r--r-- | x11-plugins/desklet-temperature/desklet-temperature-0.1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-plugins/desklet-temperature/desklet-temperature-0.1.ebuild b/x11-plugins/desklet-temperature/desklet-temperature-0.1.ebuild new file mode 100644 index 000000000000..b8df5ffb3e85 --- /dev/null +++ b/x11-plugins/desklet-temperature/desklet-temperature-0.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-temperature/desklet-temperature-0.1.ebuild,v 1.1 2003/10/09 15:31:59 obz Exp $ + +DESKLET_NAME="TempNOAA" + +MY_PN=${PN/desklet-/} +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="The clock sensors and displays for gdesklets" +SRC_URI="http://gdesklets.gnomedesktop.org/files/${MY_P}.tar.bz2" +HOMEPAGE="http://www.pycage.de/" +LICENSE="as-is" + +SLOT="0" +IUSE="" +KEYWORDS="~x86" + +DEPEND=">=gnome-extra/gdesklets-core-0.22" + +DOCS="README" + +src_install( ) { + + SYS_PATH="/usr/share/gdesklets" + INSTALL_BIN="Install_${DESKLET_NAME}_Sensor.bin" + dodir ${SYS_PATH}/{Sensors,Displays} + + # first we install the Sensor + python ${INSTALL_BIN} --nomsg ${D}${SYS_PATH}/Sensors + + # and then the .displays + insinto ${SYS_PATH}/Displays/${DESKLET_NAME} + doins *.display + + # and finally the graphics + cp -R gfx/ ${D}${SYS_PATH}/Displays/${DESKLET_NAME} + + dodoc ${DOCS} + +} + |