blob: 8531ac215862d856cc0f3bbd9391f84e105a4945 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/rox-base/traylib/traylib-0.3.2.1.ebuild,v 1.5 2008/08/30 19:55:28 maekke Exp $
NEED_PYTHON="2.3"
inherit python eutils multilib
MY_PN="TrayLib"
DESCRIPTION="TrayLib is a library for tray-based rox panel applets."
HOMEPAGE="http://rox4debian.berlios.de"
SRC_URI="ftp://ftp.berlios.de/pub/rox4debian/libs/${MY_PN}-${PV}.tgz"
RDEPEND=">=rox-base/rox-lib-1.9.6
!<rox-base/tasktray-0.7
!<rox-base/devtray-0.4.1"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~sparc x86"
IUSE=""
src_install() {
local baselibdir="/usr/$(get_libdir)"
dodir "${baselibdir}"
cp -r ${MY_PN}/ "${D}${baselibdir}/${MY_PN}"
dodir /usr/share/doc/
dosym ${baselibdir}/${MY_PN}/Help /usr/share/doc/${P}
}
pkg_postinst() {
local baselibdir="/usr/$(get_libdir)"
python_mod_optimize "${baselibdir}/${MY_PN}/"
}
pkg_postrm() {
local baselibdir="/usr/$(get_libdir)"
python_mod_cleanup "${baselibdir}/${MY_PN}/"
}
|