# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_PN="Tasklist" DESCRIPTION="Tasklist - a panel applet to show open applications for ROX" HOMEPAGE="http://rox.sourceforge.net/" SRC_URI="http://sheen.fallingsnow.net/Software/${MY_PN}-${PV}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=x11-libs/libwnck-2.4.0 >=dev-libs/libxml2-2.0" S=${WORKDIR}/${MY_PN}-${PV} APPNAME=${MY_PN} SET_PERM=true inherit rox #src_compile() { # ./AppRun --compile || die # rm -rf src build #} # do all the things rox.eclass would EXCEPT that # tasklist tarball install everything cockeyed src_install() { cd ${S} for i in Help/*; do dodoc "${i}" done insinto /usr/lib/rox/${APPNAME} cp -r . ${D}/usr/lib/rox/${APPNAME} cd ${D}/usr/lib/rox/${APPNAME} chmod a+x AppRun AppletRun # set permisions on all binares files for compiled programms per arch if [ -n "$SET_PERM" ]; then ARCH="`uname -m`" case $ARCH in i?86) ARCH=ix86 ;; esac PLATFORM="`uname -s`-$ARCH" chmod -R 755 ${D}/usr/lib/rox/${APPNAME}/${PLATFORM} fi #create a script in bin to run the application from command line dodir /usr/bin/ cat >${D}/usr/bin/${APPNAME} <