vapier 15/02/16 10:10:08 Modified: android-tools-0_p20130218.ebuild ChangeLog Log: Clean up ebuild a bit. (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path 1.3 dev-util/android-tools/android-tools-0_p20130218.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/android-tools/android-tools-0_p20130218.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/android-tools/android-tools-0_p20130218.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/android-tools/android-tools-0_p20130218.ebuild?r1=1.2&r2=1.3 Index: android-tools-0_p20130218.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-util/android-tools/android-tools-0_p20130218.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- android-tools-0_p20130218.ebuild 6 Dec 2014 05:16:25 -0000 1.2 +++ android-tools-0_p20130218.ebuild 16 Feb 2015 10:10:08 -0000 1.3 @@ -1,20 +1,23 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/android-tools/android-tools-0_p20130218.ebuild,v 1.2 2014/12/06 05:16:25 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/android-tools/android-tools-0_p20130218.ebuild,v 1.3 2015/02/16 10:10:08 vapier Exp $ EAPI=5 inherit eutils toolchain-funcs -KEYWORDS="~amd64 ~x86 ~arm-linux ~x86-linux" +MY_VERSION="${PV##*_p}" +GIT_SHA1="e89e09dd2b9b42184973e3ade291186a2737bced" + DESCRIPTION="Android platform tools (adb and fastboot)" HOMEPAGE="https://android.googlesource.com/platform/system/core.git/" -MY_VERSION="${PV##*_p}" SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/android-tools_4.2.2+git${MY_VERSION}.orig.tar.xz -https://launchpad.net/ubuntu/+archive/primary/+files/android-tools_4.2.2+git${MY_VERSION}-3ubuntu36.debian.tar.gz -https://github.com/android/platform_system_core/commit/e89e09dd2b9b42184973e3ade291186a2737bced.patch -> ${PN}-e89e09dd2b9b42184973e3ade291186a2737bced.patch" + https://launchpad.net/ubuntu/+archive/primary/+files/android-tools_4.2.2+git${MY_VERSION}-3ubuntu36.debian.tar.gz + https://github.com/android/platform_system_core/commit/${GIT_SHA1}.patch -> ${PN}-${GIT_SHA1}.patch" + # The entire source code is Apache-2.0, except for fastboot which is BSD. LICENSE="Apache-2.0 BSD" SLOT="0" +KEYWORDS="~amd64 ~x86 ~arm-linux ~x86-linux" IUSE="" RDEPEND="sys-libs/zlib:= @@ -25,10 +28,9 @@ S=${WORKDIR}/${PN} src_prepare() { - # Apply patch for bug #500480. - pushd core || die - epatch "${DISTDIR}"/${PN}-e89e09dd2b9b42184973e3ade291186a2737bced.patch - popd + pushd core >/dev/null || die + epatch "${DISTDIR}"/${PN}-${GIT_SHA1}.patch #500480 + popd >/dev/null epatch ../debian/patches/*.patch mv ../debian/makefiles/adb.mk core/adb/Makefile || die mv ../debian/makefiles/fastboot.mk core/fastboot/Makefile || die @@ -45,15 +47,10 @@ } src_compile() { - pushd core/adb || die - emake adb || die - popd - pushd core/fastboot || die - emake fastboot || die + emake -C core/adb adb + emake -C core/fastboot fastboot } src_install() { - exeinto /usr/bin - doexe core/adb/adb - doexe core/fastboot/fastboot + dobin core/adb/adb core/fastboot/fastboot } 1.5 dev-util/android-tools/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/android-tools/ChangeLog?rev=1.5&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/android-tools/ChangeLog?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/android-tools/ChangeLog?r1=1.4&r2=1.5 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-util/android-tools/ChangeLog,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ChangeLog 6 Dec 2014 05:16:25 -0000 1.4 +++ ChangeLog 16 Feb 2015 10:10:08 -0000 1.5 @@ -1,6 +1,10 @@ # ChangeLog for dev-util/android-tools -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/android-tools/ChangeLog,v 1.4 2014/12/06 05:16:25 radhermit Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/android-tools/ChangeLog,v 1.5 2015/02/16 10:10:08 vapier Exp $ + + 16 Feb 2015; Mike Frysinger <[email protected]> + android-tools-0_p20130218.ebuild: + Clean up ebuild a bit. 06 Dec 2014; Tim Harder <[email protected]> android-tools-0_p20130218.ebuild:
