duktape: update to 2.6.0.
Also clean up template.
This commit is contained in:
parent
8f42c34b51
commit
4977dd1e43
2 changed files with 10 additions and 11 deletions
|
@ -3053,7 +3053,7 @@ libbrotlienc.so.1 brotli-1.0.2_1
|
||||||
libfilteraudio.so filter_audio-0.0.1_1
|
libfilteraudio.so filter_audio-0.0.1_1
|
||||||
libgstreamermm-1.0.so.1 gstreamermm-1.8.0_1
|
libgstreamermm-1.0.so.1 gstreamermm-1.8.0_1
|
||||||
libmovit.so.8 movit-1.6.0_1
|
libmovit.so.8 movit-1.6.0_1
|
||||||
libduktape.so.204 duktape-2.4.0_1
|
libduktape.so.206 duktape-2.6.0_1
|
||||||
libccgnu2-1.8.so.0 commoncpp2-1.8.1_1
|
libccgnu2-1.8.so.0 commoncpp2-1.8.1_1
|
||||||
libccext2-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
|
libucommon.so.8 ucommon-7.0.0_1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'duktape'
|
# Template file for 'duktape'
|
||||||
pkgname=duktape
|
pkgname=duktape
|
||||||
version=2.4.0
|
version=2.6.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="-f Makefile.sharedlibrary"
|
make_build_args="-f Makefile.sharedlibrary"
|
||||||
|
@ -8,17 +8,17 @@ make_install_args="-f Makefile.sharedlibrary INSTALL_PREFIX=\${DESTDIR}/usr"
|
||||||
short_desc="Embeddable JavaScript engine"
|
short_desc="Embeddable JavaScript engine"
|
||||||
maintainer="Christopher Brannon <chris@the-brannons.com>"
|
maintainer="Christopher Brannon <chris@the-brannons.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://duktape.org"
|
homepage="https://duktape.org"
|
||||||
distfiles="https://github.com/svaarala/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
distfiles="https://github.com/svaarala/duktape/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=86a89307d1633b5cedb2c6e56dc86e92679fc34b05be551722d8cc69ab0771fc
|
checksum=96f4a05a6c84590e53b18c59bb776aaba80a205afbbd92b82be609ba7fe75fa7
|
||||||
|
|
||||||
pre_build() {
|
post_patch() {
|
||||||
sed -i 's|^CC.*||g' Makefile.sharedlibrary
|
vsed -i 's|^CC.*||g' Makefile.sharedlibrary
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
vmkdir /usr/lib
|
vmkdir usr/lib
|
||||||
vmkdir /usr/include
|
vmkdir usr/include
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
@ -26,8 +26,7 @@ post_install() {
|
||||||
# Two libraries were installed, one with debugging symbols, one
|
# Two libraries were installed, one with debugging symbols, one
|
||||||
# without. Maybe that makes sense on a distro without debug
|
# without. Maybe that makes sense on a distro without debug
|
||||||
# splitting, but not on Void. Replace libduktape.
|
# splitting, but not on Void. Replace libduktape.
|
||||||
cd "${DESTDIR}/usr/lib"
|
rm ${DESTDIR}/usr/lib/libduktaped.*
|
||||||
rm libduktaped.*
|
|
||||||
}
|
}
|
||||||
|
|
||||||
duktape-devel_package() {
|
duktape-devel_package() {
|
||||||
|
|
Loading…
Reference in a new issue