dev-libs/angelscript: bump to 2.31.0

This commit is contained in:
Julian Ospald 2016-03-27 18:25:15 +02:00
parent 64a4de4eb9
commit 0fa4472843
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 5 additions and 26 deletions

View File

@ -17,10 +17,6 @@ DEPENDENCIES="
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 \
@ -29,10 +25,10 @@ src_compile() {
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/*
DESTDIR=${IMAGE} \
LIBDIR_DEST=usr/$(exhost --target)/lib \
INCLUDEDIR_DEST=usr/$(exhost --target)/include/ \
DOCDIR_BASEDIR=usr/share/docs/${PNVR} \
install install_docs
}

View File

@ -1,17 +0,0 @@
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 ;