dex2jar: initial ebuild

This commit is contained in:
Anton Bolshakov 2012-08-17 01:30:24 +00:00
parent 7605f0f510
commit 98fbcc02d9
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST dex2jar-0.0.9.9.tar.gz 1645807 SHA256 e3d63185eef5ef5b5c512433d402aacbe50044ce7ca66655bd2ea972e9800dca SHA512 7cd30d3e7068ca1a7792e882896da63ae094506209021e676b25c5ba2127e7f5c1c2710009cae3725c555f8d35a1809d210fe6fbdc99bd3ef45ec14333a87537 WHIRLPOOL 006a6ab4c45d6133977682692f6d4e71d86d6f1f061b8c90be08ba7e9c2eddea879f4e47da85f0c3503961657115b4d49d86b86769bd0b8f2efac38c39f5ab4d
EBUILD dex2jar-0.0.9.9.ebuild 868 SHA256 6bca84e84abd6fcfae926c3a265b0c91ed47a2bad14fc1dc1845d07f95ddb4a1 SHA512 e5013d42c843ce852c5bfa7680626c03b37b6284fce3c4e52c0109145cb0071820579d94dceacbff7bee7e616e14f4207133828e47c4b08cfe4c6770c19729e0 WHIRLPOOL 81230d7dfec25bb95e3a3c6a1ac8ca54c5b44d294c417a0913991fadc08ab75c7c982e6a5154b90383192543d566e1286679a0ef6ae76fb82368d4a2e7b7381d

View file

@ -0,0 +1,44 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
DESCRIPTION="Tools to work with android .dex and java .class files"
HOMEPAGE="http://code.google.com/p/dex2jar/"
SRC_URI="http://dex2jar.googlecode.com/files/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="|| ( virtual/jre virtual/jdk )"
src_prepare() {
rm *.bat
chmod a+x *.sh
rm *.txt
cd lib
mv dx-NOTICE dx-NOTICE.txt
rm *.txt
}
src_install() {
dodir /opt/"${PN}"
cp -R "${S}"/* "${D}/opt/"${PN}"" || die "Install failed!"
#d2j-apk-sign.sh
#d2j-asm-verify.sh
#d2j-dex-asmifier.sh
#d2j-dex-dump.sh
#d2j-dex2jar.sh
#d2j-init-deobf.sh
#d2j-jar-access.sh
#d2j-jar-remap.sh
#d2j-jar2dex.sh
#d2j-jar2jasmin.sh
#d2j-jasmin2jar.sh
#dex-dump.sh
dosym /opt/dex2jar/dex2jar.sh /usr/bin/dex2jar
}