26 lines
		
	
	
		
			619 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			26 lines
		
	
	
		
			619 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								# Copyright 2018 Julian Ospald <hasufell@posteo>
							 | 
						||
| 
								 | 
							
								# Distributed under the terms of the GNU General Public License v2
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								require java
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								SUMMARY="A powerful parser generator for reading, processing, executing, or translating structured text or binary files (Java target)"
							 | 
						||
| 
								 | 
							
								HOMEPAGE="http://www.antlr.org"
							 | 
						||
| 
								 | 
							
								DOWNLOADS="http://www.antlr.org/download/antlr-${PV}-complete.jar"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								LICENCES="BSD-3"
							 | 
						||
| 
								 | 
							
								SLOT="4"
							 | 
						||
| 
								 | 
							
								PLATFORMS="~amd64 ~x86"
							 | 
						||
| 
								 | 
							
								MYOPTIONS=""
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								DEPENDENCIES="
							 | 
						||
| 
								 | 
							
								"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								BUGS_TO="hasufell@posteo"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								WORK=${WORKBASE}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								src_install() {
							 | 
						||
| 
								 | 
							
								    insinto /usr/share/${PN}-${SLOT}
							 | 
						||
| 
								 | 
							
								    newins "${FETCHEDDIR}"/antlr-${PV}-complete.jar antlr-complete.jar
							 | 
						||
| 
								 | 
							
								}
							 |