mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 22:27:02 +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'
|
||||
pkgname=quickjs
|
||||
version=2021.03.27
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="${pkgname}-${version//./-}"
|
||||
build_style=gnu-makefile
|
||||
make_use_env=true
|
||||
|
@ -26,6 +26,7 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|||
fi
|
||||
|
||||
pre_configure() {
|
||||
vsed -i -e 's|%s/lib/quickjs|%s/lib|' qjsc.c
|
||||
vsed -i -e '/HOST_CC/s/CFLAGS_OPT/BUILD_CFLAGS/' Makefile
|
||||
cat >>Makefile <<EOF
|
||||
CFLAGS += ${CFLAGS}
|
||||
|
@ -43,6 +44,7 @@ quickjs-devel_package() {
|
|||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/qjsc
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.a
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue