summaryrefslogtreecommitdiff
blob: b87fd15d6e4ed8ba389e820ae36d38fab3fb4e57 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils gnome2

MY_P="${PN}_${PV}-1"

DESCRIPTION="A pygtk gui for truecrypt."
HOMEPAGE="http://bockcay.de/forcefield/"
SRC_URI="http://bockcay.de/stuff/programs/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

RESTRICT="mirror"

DEPEND=">=dev-python/setuptools-0.6_rc3
		>=dev-python/gnome-python-2.12.4"

RDEPEND="${DEPEND}
		>=dev-python/python-crack-0.5.1
		>=dev-python/pycrypto-2.0.1-r5
		>=dev-python/gnome-python-extras-2.14.0-r1
		>=dev-python/pexpect-0.999
		>=dev-python/dbus-python-0.71
		>=dev-python/notify-python-0.1.1
		>=app-crypt/truecrypt-4.2a-r1"

pkg_setup() {
	if ! built_with_use ">=sys-libs/cracklib-2.8.9-r1" python ; then
		die "You MUST build sys-libs/cracklib with the python USE flag."
	fi
}

src_unpack() {
	unpack ${A}
	cd ${S}

	epatch ${FILESDIR}/${P}-gettext.patch
	epatch ${FILESDIR}/${P}-translation.patch
}