forked from hasufell/hasufell-repository
		
	dev-libs/angelscript: initial import of version 2.30.2
This commit is contained in:
		
							parent
							
								
									48743f0a1d
								
							
						
					
					
						commit
						23dd48fa65
					
				
							
								
								
									
										37
									
								
								packages/dev-libs/angelscript/angelscript-2.30.2.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								packages/dev-libs/angelscript/angelscript-2.30.2.exheres-0
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,37 @@
 | 
				
			|||||||
 | 
					# Copyright Julian Ospald <hasufell@posteo.de>
 | 
				
			||||||
 | 
					# Distributed under the terms of the GNU General Public License v2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					SUMMARY="A flexible, cross-platform scripting library"
 | 
				
			||||||
 | 
					HOMEPAGE="http://www.angelcode.com/angelscript/"
 | 
				
			||||||
 | 
					DOWNLOADS="http://www.angelcode.com/angelscript/sdk/files/angelscript_${PV}.zip"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					LICENCES="ZLIB"
 | 
				
			||||||
 | 
					SLOT="0"
 | 
				
			||||||
 | 
					PLATFORMS="~amd64 ~x86"
 | 
				
			||||||
 | 
					MYOPTIONS=""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					DEPENDENCIES="
 | 
				
			||||||
 | 
					    build: virtual/unzip
 | 
				
			||||||
 | 
					"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					WORK=${WORKBASE}/sdk
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					DEFAULT_SRC_PREPARE_PATCHES=(
 | 
				
			||||||
 | 
					    "${FILES}"/${PNV}-install.patch
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					src_compile() {
 | 
				
			||||||
 | 
						export CXX=${CXX} AR=${AR} RANLIB=${RANLIB}
 | 
				
			||||||
 | 
						emake -C ${PN}/projects/gnuc \
 | 
				
			||||||
 | 
					        LIBRARYDEST=
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					src_install() {
 | 
				
			||||||
 | 
					    emake -C ${PN}/projects/gnuc \
 | 
				
			||||||
 | 
					        LIBRARYDEST="${IMAGE}"/usr/$(exhost --target)/lib \
 | 
				
			||||||
 | 
					        INCLUDEDEST="${IMAGE}"/usr/$(exhost --target)/include/ install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    insinto /usr/share/doc/${PNVR}/html
 | 
				
			||||||
 | 
					    doins -r "${WORK}"/docs/*
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					Source: Julian Ospald <hasufell@posteo.de>
 | 
				
			||||||
 | 
					Upstream: not yet
 | 
				
			||||||
 | 
					Reason: fix install rules
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					--- a/angelscript/projects/gnuc/Makefile
 | 
				
			||||||
 | 
					+++ b/angelscript/projects/gnuc/Makefile
 | 
				
			||||||
 | 
					@@ -147,8 +147,8 @@
 | 
				
			||||||
 | 
					 		echo "Skipping creation of symbolic links..."; \
 | 
				
			||||||
 | 
					 	else \
 | 
				
			||||||
 | 
					 		( install -Dm 755 $(LIBDIR)/$(SHLIB) $(LIBRARYDEST)$(LIBNAME)_s-$$ver.so && \
 | 
				
			||||||
 | 
					-		ln -fs $(LIBRARYDEST)$(LIBNAME)_s-$$ver.so $(LIBRARYDEST)$(SHLIB) && \
 | 
				
			||||||
 | 
					-		ln -fs $(LIBRARYDEST)$(LIBNAME)_s-$$ver.so $(LIBRARYDEST)$(SHLIB).$$ver ) \
 | 
				
			||||||
 | 
					+		ln -fs $(LIBNAME)_s-$$ver.so $(LIBRARYDEST)$(SHLIB) && \
 | 
				
			||||||
 | 
					+		ln -fs $(LIBNAME)_s-$$ver.so $(LIBRARYDEST)$(SHLIB).$$ver ) \
 | 
				
			||||||
 | 
					 	fi ;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user