duktape: update to 2.3.0.

This commit is contained in:
maxice8 2018-09-13 09:39:13 -03:00
parent 7c8c57a949
commit cac8223fe4
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
3 changed files with 7 additions and 20 deletions

View file

@ -2982,7 +2982,7 @@ libfilteraudio.so filter_audio-0.0.1_1
libarmadillo.so.8 armadillo-8.300.0_1
libgstreamermm-1.0.so.1 gstreamermm-1.8.0_1
libmovit.so.8 movit-1.6.0_1
libduktape.so.202 duktape-2.2.0_1
libduktape.so.203 duktape-2.3.0_1
libccgnu2-1.8.so.0 commoncpp2-1.8.1_1
libccext2-1.8.so.0 commoncpp2-1.8.1_1
libucommon.so.8 ucommon-7.0.0_1

View file

@ -1,17 +0,0 @@
# Fix hardcoded compiler / -Os in the makefile...
--- Makefile.sharedlibrary 2017-01-26 11:56:36.000000000 -0800
+++ Makefile.sharedlibrary.new 2017-04-15 15:57:34.679605829 -0700
@@ -44,11 +44,11 @@
# to $INSTALL_PREFIX/include on installation.
libduktape.so.$(REAL_VERSION):
- gcc -shared -fPIC -Wall -Wextra -Os -Wl,-soname,libduktape.so.$(SONAME_VERSION) \
+ $(CC) -shared -fPIC -Wall -Wextra $(CFLAGS) -Wl,-soname,libduktape.so.$(SONAME_VERSION) \
-o $@ $(DUKTAPE_SRCDIR)/duktape.c
libduktaped.so.$(REAL_VERSION):
- gcc -shared -fPIC -g -Wall -Wextra -Os -Wl,-soname,libduktaped.so.$(SONAME_VERSION) \
+ $(CC) -shared -fPIC -g -Wall -Wextra $(CFLAGS) -Wl,-soname,libduktaped.so.$(SONAME_VERSION) \
-o $@ $(DUKTAPE_SRCDIR)/duktape.c
# Symlinks depend on platform conventions.

View file

@ -1,6 +1,6 @@
# Template file for 'duktape'
pkgname=duktape
version=2.2.1
version=2.3.0
revision=1
build_style=gnu-makefile
make_build_args="-f Makefile.sharedlibrary"
@ -10,7 +10,11 @@ maintainer="Christopher Brannon <chris@the-brannons.com>"
license="MIT"
homepage="http://duktape.org"
distfiles="https://github.com/svaarala/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz"
checksum=3abe2eed2553305262b892c98f550bb1a94cf4fd73b51dc5c176fe08e7ade7f2
checksum=ed6e2f3ab2061628a7aeee27ccff16538ba6a151480cccf2e846bd061e45afe8
pre_build() {
sed -i 's|^CC.*||g' Makefile.sharedlibrary
}
pre_install() {
vmkdir /usr/lib