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

Collapse All | Expand All

(-)android-sdk-update-manager-6-r2.ebuild (-9 / +5 lines)
Lines 2-8 Link Here
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/dev-util/android-sdk-update-manager/android-sdk-update-manager-6-r2.ebuild,v 1.3 2010/10/15 17:46:23 fauli Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/android-sdk-update-manager-6-r2.ebuild,v 1.3 2010/10/15 17:46:23 fauli Exp $
4
4
5
EAPI="2"
5
EAPI="3"
6
6
7
inherit eutils
7
inherit eutils
8
8
Lines 26-32 Link Here
26
	amd64? ( app-emulation/emul-linux-x86-gtklibs )
26
	amd64? ( app-emulation/emul-linux-x86-gtklibs )
27
	x86? ( x11-libs/gtk+:2 )"
27
	x86? ( x11-libs/gtk+:2 )"
28
28
29
ANDROID_SDK_DIR="${ROOT}/opt/${PN}"
29
ANDROID_SDK_DIR="/opt/${PN}"
30
QA_DT_HASH_x86="
30
QA_DT_HASH_x86="
31
	${ANDROID_SDK_DIR/\/}/tools/emulator
31
	${ANDROID_SDK_DIR/\/}/tools/emulator
32
	${ANDROID_SDK_DIR/\/}/tools/adb
32
	${ANDROID_SDK_DIR/\/}/tools/adb
Lines 54-65 Link Here
54
	dodoc tools/NOTICE.txt "SDK Readme.txt" || die
54
	dodoc tools/NOTICE.txt "SDK Readme.txt" || die
55
	rm -f tools/NOTICE.txt "SDK Readme.txt"
55
	rm -f tools/NOTICE.txt "SDK Readme.txt"
56
56
57
	insinto "${ANDROID_SDK_DIR}/tools"
57
	dodir "${ANDROID_SDK_DIR}/tools"
58
	doins -r tools/lib || die "failed to doins tools/lib"
58
	cp -pPR tools/* "${ED}${ANDROID_SDK_DIR}/tools" || die "failed to install tools"
59
	rm -rf tools/lib || die
60
61
	exeinto "${ANDROID_SDK_DIR}/tools"
62
	doexe tools/* || die "failed to doexe tools/"
63
59
64
	# Maybe this is needed for the tools directory too.
60
	# Maybe this is needed for the tools directory too.
65
	#keepdir "${ANDROID_SDK_DIR}"/{add-ons,docs,platforms,temp} || die "failed to keepdir"
61
	#keepdir "${ANDROID_SDK_DIR}"/{add-ons,docs,platforms,temp} || die "failed to keepdir"
Lines 68-74 Link Here
68
	fowners root:android "${ANDROID_SDK_DIR}"/{,add-ons,docs,platforms,temp} || die
64
	fowners root:android "${ANDROID_SDK_DIR}"/{,add-ons,docs,platforms,temp} || die
69
	fperms 0775 "${ANDROID_SDK_DIR}"/{,add-ons,docs,platforms,temp} || die
65
	fperms 0775 "${ANDROID_SDK_DIR}"/{,add-ons,docs,platforms,temp} || die
70
66
71
	echo "PATH=\"${ANDROID_SDK_DIR}/tools\"" > "${T}/80${PN}" || die
67
	echo "PATH=\"${EPREFIX}${ANDROID_SDK_DIR}/tools:${EPREFIX}${ANDROID_SDK_DIR}/platform-tools\"" > "${T}/80${PN}" || die
72
	doenvd "${T}/80${PN}" || die
68
	doenvd "${T}/80${PN}" || die
73
}
69
}
74
70

Return to bug 348014