blob: 688db6c9e089ee385032c6673654b05bd3cb6283 (
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
39
40
41
42
43
44
45
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/kbackup/kbackup-0.5.1.ebuild,v 1.3 2007/07/15 04:23:35 mr_bones_ Exp $
inherit kde
DESCRIPTION="KBackup is a program that lets you back up any directories or files."
HOMEPAGE="http://www.kde-apps.org/content/show.php?content=44998"
SRC_URI="http://www.kde-apps.org/content/files/44998-${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND=">=app-arch/bzip2-1.0.2
>=sys-libs/zlib-1.1.4"
LANGS="de fr it ru sk"
LANGS_DOC="de fr"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
need-kde 3.5
src_unpack() {
kde_src_unpack
cd "${WORKDIR}/${P}/po"
for X in ${LANGS} ; do
use linguas_${X} || rm "${X}.gmo" "${X}.po"
done
rm -f "${S}/configure"
if ! use doc ; then
rm -rf "${WORKDIR}/${P}/doc"
else
cd "${WORKDIR}/${P}/doc"
for X in ${LANGS_DOC} ; do
use linguas_${X} || rm -rf ${X}
done
fi
}
|