Skip to content

Commit

Permalink
quickjs: move qjsc to quickjs-devel.
Browse files Browse the repository at this point in the history
  • Loading branch information
atweiden committed Nov 7, 2021
1 parent 43a4dbe commit abafc33
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion srcpkgs/quickjs/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
maintainer="nox"
pkgname="quickjs"
version=2021.03.27
revision=2
revision=3
short_desc="Small and embeddable Javascript engine"
homepage="https://bellard.org/quickjs/"
license="MIT"
Expand All @@ -25,6 +25,11 @@ if [[ -n "$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/' \
Expand All @@ -46,6 +51,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"
}
Expand Down

0 comments on commit abafc33

Please sign in to comment.