Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 448360 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/app-crypt/cryptkeeper/cryptkeeper-0.9.5.ebuild (-4 / +19 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2012 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-crypt/cryptkeeper/cryptkeeper-0.9.5.ebuild,v 1.1 2012/12/17 19:31:21 hwoarang Exp $
3
# $Header: $
4
4
5
EAPI="5"
5
EAPI="5"
6
GCONF_DEBUG="no"
6
GCONF_DEBUG="no"
Lines 14-20 Link Here
14
LICENSE="GPL-3"
14
LICENSE="GPL-3"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="~amd64 ~x86"
16
KEYWORDS="~amd64 ~x86"
17
IUSE="nls"
17
IUSE="nls test"
18
18
19
RDEPEND="gnome-base/gconf:2
19
RDEPEND="gnome-base/gconf:2
20
	>=sys-fs/encfs-1.7.2
20
	>=sys-fs/encfs-1.7.2
Lines 23-35 Link Here
23
DEPEND="${RDEPEND}
23
DEPEND="${RDEPEND}
24
	nls? ( sys-devel/gettext )"
24
	nls? ( sys-devel/gettext )"
25
25
26
RESTRICT="test"
27
28
PATCHES=(
26
PATCHES=(
29
	"${FILESDIR}/${P}-binutils-gold.patch"
27
	"${FILESDIR}/${P}-binutils-gold.patch"
30
	"${FILESDIR}/${P}-fix_cryptkeeper.desktop.patch"
28
	"${FILESDIR}/${P}-fix_cryptkeeper.desktop.patch"
31
	"${FILESDIR}/${P}-fix-ftbfs-gcc-4.7-672010.patch"
29
	"${FILESDIR}/${P}-fix-ftbfs-gcc-4.7-672010.patch"
32
	"${FILESDIR}/${P}-is_mounted_overflow_fix.patch"
30
	"${FILESDIR}/${P}-is_mounted_overflow_fix.patch"
31
	"${FILESDIR}/${P}-unit_tests.patch"
33
)
32
)
34
33
35
DOCS="TODO"
34
DOCS="TODO"
Lines 42-44 Link Here
42
src_configure() {
41
src_configure() {
43
	econf $(use_enable nls)
42
	econf $(use_enable nls)
44
}
43
}
44
45
src_test() {
46
	local emake_cmd="${MAKE:-make} ${MAKEOPTS}"
47
	
48
	echo ">>> Test phase [unit_test]: ${CATEGORY}/${PF}"
49
	
50
	addwrite /dev/fuse
51
	addwrite /etc/mtab
52
		
53
	einfo "Compiling ${PN}'s unit_test"
54
	cd "${S}/src"
55
	$emake_cmd -j1 unit_test
56
57
	einfo "Running ${PN}'s unit_test"
58
	"${S}/src/unit_test" || die "${PN}'s tests failed"
59
}

Return to bug 448360