forked from hasufell/hasufell-repository
dev-libs/angelscript: bump to 2.31.0
This commit is contained in:
parent
64a4de4eb9
commit
0fa4472843
@ -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
|
||||
}
|
||||
|
@ -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 ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user