diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-08-26 09:46:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-08-26 09:46:37 +0000 |
commit | c57d56e693ed95c284307a5be6f714e577e43484 (patch) | |
tree | e9b399e89d6a967339651ba6d41d22c1ff956908 | |
parent | dev-haskell/semigroupoids: initial layout (diff) | |
download | historical-c57d56e693ed95c284307a5be6f714e577e43484.tar.gz historical-c57d56e693ed95c284307a5be6f714e577e43484.tar.bz2 historical-c57d56e693ed95c284307a5be6f714e577e43484.zip |
Add dev-util/android-tools.
Package-Manager: portage-2.2.1/cvs/Linux i686
Manifest-Sign-Key: 0xFDE8EF85AE5719A3
-rw-r--r-- | dev-util/android-tools/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/android-tools/Manifest | 14 | ||||
-rw-r--r-- | dev-util/android-tools/android-tools-0_p20130123.ebuild | 51 | ||||
-rw-r--r-- | dev-util/android-tools/metadata.xml | 13 |
4 files changed, 87 insertions, 0 deletions
diff --git a/dev-util/android-tools/ChangeLog b/dev-util/android-tools/ChangeLog new file mode 100644 index 000000000000..e9973788b03b --- /dev/null +++ b/dev-util/android-tools/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-util/android-tools +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/android-tools/ChangeLog,v 1.1 2013/08/26 09:46:32 zmedico Exp $ + +*android-tools-0_p20130123 (26 Aug 2013) + + 26 Aug 2013; Zac Medico <zmedico@gentoo.org> + +android-tools-0_p20130123.ebuild, +metadata.xml: + Add dev-util/android-tools. diff --git a/dev-util/android-tools/Manifest b/dev-util/android-tools/Manifest new file mode 100644 index 000000000000..9d4d7d774125 --- /dev/null +++ b/dev-util/android-tools/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST android-tools-20130123git98d0789-2.fc20.src.rpm 259328 SHA256 b318ab5855afad58d51022a35501a0cb86eaa5d1a7602381c30d951df1ec2f8b SHA512 87852513d6e67762a5049406ca5eb13a3afbbf11e8aaae95779dee2b9a775170581b136fdd90516147553c5be065a6b3751560bf1c2fbb9ae9bda7b0f629853f WHIRLPOOL 5cd74787907cc52fc9f836be1f57b7cfedb4b1c20a4e3ace45ec03230741c24a1f64723d779ff2390b38112c0b739a4759effb50727cac7806fde3cc7ca0a43c +EBUILD android-tools-0_p20130123.ebuild 1667 SHA256 946274757f2c39ef532842430db67a8b24b1423819280c506f2d62df9f172208 SHA512 61072c447390c0fe4d04fc17f3a38cfc9846758ca7f2e6d64ccc254f11ab9034a887992c43679b1496ff00d70a784f9cfb2647fdf4d372519fa8eeb43557f1a2 WHIRLPOOL a702ce556abd110298e2a9004ee6b6c2f93e3f609b5db37a48bb761a655fab56d6bb32ee327ddfbf138ea12d17c294a66578127d80f81d1ba954cc72e9e51ab8 +MISC ChangeLog 389 SHA256 aa1eea7487f155d13987194c696059479ea130ae5319692eae685b03c6f6a652 SHA512 bee0d8c704d0bd3416c3f3775855da772f75e72afc02c0836b6597bd6268e35457135c1122e602cf9e282ef68688a715c475cc9c29efb03fcba171d2fffc793c WHIRLPOOL 7dedb9939b85d1aaafd032883be5b8cc8bd5d6af71b2ff974876fdfd5c6d177037553c5ebac254276bce34c4f55fefb41c70c7bffccebb8800b5f6d77b30f452 +MISC metadata.xml 512 SHA256 d0fcbd927d09452fda0f4c75e28a934abd758fa15aed7118e502ca71e6595891 SHA512 e7103dd1223e59e55b7f1b1decdc0cdfa87669b65a8e45737cf4e9d87c59f92bad5675b9567f9d06ef766d46e8edd3615d4bfe829f6f2309899c27c6be8ae040 WHIRLPOOL 97d7014c581cd0f3bf25f6f68c9d1317fa74c76156a11e76ad9a9323eb1897d09508e6d3d27513db63b1d4d056e006bd396fa312e99cb0e6ec0103e8e8af262a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iEYEAREIAAYFAlIbI/oACgkQ/ejvha5XGaOqmgCg51mTWdcsGdaxH5oZTYAVivc7 +iAwAoJ/1wKvc+unbZ7R1lNRovJuxDnCi +=yS0i +-----END PGP SIGNATURE----- diff --git a/dev-util/android-tools/android-tools-0_p20130123.ebuild b/dev-util/android-tools/android-tools-0_p20130123.ebuild new file mode 100644 index 000000000000..f70492d80969 --- /dev/null +++ b/dev-util/android-tools/android-tools-0_p20130123.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 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_p20130123.ebuild,v 1.1 2013/08/26 09:46:32 zmedico Exp $ + +EAPI=5 +inherit eutils rpm toolchain-funcs + +KEYWORDS="~amd64 ~x86 ~arm-linux ~x86-linux" +DESCRIPTION="Android platform tools (adb and fastboot)" +HOMEPAGE="https://android.googlesource.com/platform/system/core.git/" +CORE_GIT_COMMIT="98d0789772b94b9b0c2aecfab74dc1a9283a91b1" +EXTRAS_GIT_COMMIT="4ff85ad26acab3f4bbab6195c5e092999164f7d8" +CORE_PV=${CORE_GIT_COMMIT:0:7} +MY_VERSION="${PV##*_p}git${CORE_GIT_COMMIT:0:7}" +SRC_URI="http://kojipkgs.fedoraproject.org/packages/${PN}/${MY_VERSION}/2.fc20/src/${PN}-${MY_VERSION}-2.fc20.src.rpm" +# The entire source code is Apache-2.0, except for fastboot which is BSD. +LICENSE="Apache-2.0 BSD" +SLOT="0" +IUSE="" + +RDEPEND="sys-libs/zlib:= + dev-libs/openssl:0=" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/core-${CORE_PV} + +src_unpack() { + rpm_unpack ${A} + unpack ./core-${CORE_PV}.tar.xz ./extras-${EXTRAS_GIT_COMMIT:0:7}.tar.xz +} + +src_prepare() { + mv ../core-Makefile Makefile || die + mv ../adb-Makefile adb/Makefile || die + mv ../fastboot-Makefile fastboot/Makefile || die + + # Avoid libselinux dependency. + sed -e 's: -lselinux::' -i fastboot/Makefile || die + sed -e '/#include <selinux\/selinux.h>/d' \ + -e 's:#include <selinux/label.h>:struct selabel_handle;:' \ + -i ../extras/ext4_utils/make_ext4fs.h || die + sed -e '160,174d;434,455d' -i ../extras/ext4_utils/make_ext4fs.c || die +} + +src_install() { + exeinto /usr/bin + doexe adb/adb + doexe fastboot/fastboot + dodoc adb/{OVERVIEW,SERVICES}.TXT +} diff --git a/dev-util/android-tools/metadata.xml b/dev-util/android-tools/metadata.xml new file mode 100644 index 000000000000..14686ded0a74 --- /dev/null +++ b/dev-util/android-tools/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <bugs-to>https://code.google.com/p/android/issues/list</bugs-to> + <changelog>https://android.googlesource.com/platform/system/core.git/+log/HEAD</changelog> + <doc>https://android.googlesource.com/platform/system/core.git/+/master/adb/OVERVIEW.TXT</doc> + </upstream> + <maintainer> + <email>zmedico@gentoo.org</email> + <name>Zac Medico</name> + </maintainer> +</pkgmetadata> |