blob: ad867977fe2d04d626650262cb41f88218313ef7 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/kpowersave/kpowersave-0.7.3.ebuild,v 1.3 2007/11/19 10:08:27 genstef Exp $
inherit kde
DESCRIPTION="KDE front-end to powersave daemon"
HOMEPAGE="http://powersave.sf.net/"
SRC_URI="mirror://sourceforge/powersave/${P}.tar.bz2
mirror://gentoo/kde-admindir-3.5.5.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=sys-apps/hal-0.5.4
dev-libs/dbus-qt3-old
x11-libs/libXScrnSaver
x11-libs/libXext
x11-libs/libXtst"
DEPEND="${RDEPEND}"
need-kde 3.5.7
src_unpack() {
unpack ${A}
rm -rf "${S}/admin" "${S}/configure"
ln -s "${WORKDIR}/admin" "${S}/admin"
}
pkg_postinst() {
einfo "Making sure that config directory is readable"
einfo "chmod 755 ${ROOT}/usr/share/config"
chmod 755 "${ROOT}/usr/share/config"
}
|