[dev-java/gson] bump from java-overlay
This commit is contained in:
		
							
								
								
									
										38
									
								
								dev-java/gson/gson-2.2.2.ebuild
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								dev-java/gson/gson-2.2.2.ebuild
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
# Copyright 1999-2012 Gentoo Foundation
 | 
			
		||||
# Distributed under the terms of the GNU General Public License v2
 | 
			
		||||
# $Header: $
 | 
			
		||||
 | 
			
		||||
EAPI=4
 | 
			
		||||
JAVA_PKG_IUSE="doc source"
 | 
			
		||||
 | 
			
		||||
inherit java-pkg-2 java-pkg-simple
 | 
			
		||||
 | 
			
		||||
DESCRIPTION="Java library to convert JSON to Java objects and vice-versa"
 | 
			
		||||
HOMEPAGE="http://code.google.com/p/google-gson/"
 | 
			
		||||
SRC_URI="http://google-gson.googlecode.com/files/google-${P}-release.zip"
 | 
			
		||||
LICENSE="Apache-2.0"
 | 
			
		||||
SLOT="2"
 | 
			
		||||
KEYWORDS="~amd64 ~x86"
 | 
			
		||||
IUSE=""
 | 
			
		||||
 | 
			
		||||
DEPEND=">=virtual/jdk-1.5
 | 
			
		||||
	app-arch/unzip"
 | 
			
		||||
 | 
			
		||||
RDEPEND=">=virtual/jre-1.5"
 | 
			
		||||
 | 
			
		||||
S="${WORKDIR}/google-${P}"
 | 
			
		||||
 | 
			
		||||
src_unpack() {
 | 
			
		||||
	unpack ${A}
 | 
			
		||||
	cd "${S}" || die
 | 
			
		||||
	unpack "./${P}-sources.jar"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
java_prepare() {
 | 
			
		||||
	rm -v *.jar || die
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_install() {
 | 
			
		||||
	java-pkg-simple_src_install
 | 
			
		||||
	dodoc README
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user