mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
quickjs: move qjsc to quickjs-devel.
Also fix path to libquickjs.a. Closes #33935.
This commit is contained in:
parent
e2e1759395
commit
c0891e554b
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'quickjs'
|
# Template file for 'quickjs'
|
||||||
pkgname=quickjs
|
pkgname=quickjs
|
||||||
version=2021.03.27
|
version=2021.03.27
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="${pkgname}-${version//./-}"
|
wrksrc="${pkgname}-${version//./-}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_use_env=true
|
make_use_env=true
|
||||||
|
@ -26,6 +26,7 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
vsed -i -e 's|%s/lib/quickjs|%s/lib|' qjsc.c
|
||||||
vsed -i -e '/HOST_CC/s/CFLAGS_OPT/BUILD_CFLAGS/' Makefile
|
vsed -i -e '/HOST_CC/s/CFLAGS_OPT/BUILD_CFLAGS/' Makefile
|
||||||
cat >>Makefile <<EOF
|
cat >>Makefile <<EOF
|
||||||
CFLAGS += ${CFLAGS}
|
CFLAGS += ${CFLAGS}
|
||||||
|
@ -43,6 +44,7 @@ quickjs-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
vmove usr/bin/qjsc
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/*.a
|
vmove usr/lib/*.a
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue