dev-libs/angelscript: bump to 2.31.0

This commit is contained in:
2016-03-27 18:25:15 +02:00
parent 64a4de4eb9
commit 0fa4472843
2 changed files with 5 additions and 26 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 2016 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
src_compile() {
export CXX=${CXX} AR=${AR} RANLIB=${RANLIB}
emake -C ${PN}/projects/gnuc \
LIBRARYDEST=
}
src_install() {
emake -C ${PN}/projects/gnuc \
DESTDIR=${IMAGE} \
LIBDIR_DEST=usr/$(exhost --target)/lib \
INCLUDEDIR_DEST=usr/$(exhost --target)/include/ \
DOCDIR_BASEDIR=usr/share/docs/${PNVR} \
install install_docs
}