Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 269639
Collapse All | Expand All

(-)libopensync-0.36-r1.ebuild (-5 / +5 lines)
Lines 31-37 Link Here
31
31
32
src_unpack() {
32
src_unpack() {
33
	unpack $A
33
	unpack $A
34
	cd $PN-$PV
34
	cd "${S}"
35
	epatch "$FILESDIR/libopensync-py2.6.patch"
35
	epatch "$FILESDIR/libopensync-py2.6.patch"
36
}
36
}
37
37
Lines 45-51 Link Here
45
	cmake-utils_src_compile
45
	cmake-utils_src_compile
46
46
47
	if use doc ; then
47
	if use doc ; then
48
		cd "${WORKDIR}/${PN}_build"
48
		cd "${CMAKE_BUILD_DIR}"
49
		doxygen Doxyfile || die "Failed to generate docs."
49
		doxygen Doxyfile || die "Failed to generate docs."
50
	fi
50
	fi
51
}
51
}
Lines 53-61 Link Here
53
src_test() {
53
src_test() {
54
	echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
54
	echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
55
55
56
	pushd "${WORKDIR}/${PN}_build" > /dev/null
56
	pushd "${CMAKE_BUILD_DIR}" > /dev/null
57
57
58
	if ! LD_LIBRARY_PATH="${WORKDIR}/${PN}_build/opensync/" emake -j1 test ; then
58
	if ! LD_LIBRARY_PATH="${CMAKE_BUILD_DIR}/opensync/" emake -j1 test ; then
59
		die "Make test failed. See above for details."
59
		die "Make test failed. See above for details."
60
	fi
60
	fi
61
61
Lines 66-72 Link Here
66
	cmake-utils_src_install
66
	cmake-utils_src_install
67
67
68
	if use doc ; then
68
	if use doc ; then
69
		cd "${WORKDIR}/${PN}_build"
69
		cd "${CMAKE_BUILD_DIR}"
70
		dohtml docs/html/* || die "Failed to install docs."
70
		dohtml docs/html/* || die "Failed to install docs."
71
	fi
71
	fi
72
}
72
}

Return to bug 269639