Skip to content

Commit deee3b9

Browse files
author
jhuntwork
committed
Merge pull request ':arrow_up: Upgrade nodejs to 24.17.0' (#165) from nodejs into main
Reviewed-on: https://codeberg.org/merelinux/recipes/pulls/165
2 parents 33892c7 + e674cc5 commit deee3b9

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

recipes/extra/nodejs/recipe.kdl

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
recipe {
22
name "nodejs"
3-
version "24.14.1"
3+
version "24.17.0"
44
release 1
55
description "A JavaScript runtime"
66
url "https://nodejs.org"
@@ -16,12 +16,12 @@ recipe {
1616
}
1717

1818
source "https://nodejs.org/dist/v${recipe.version}/node-v${recipe.version}.tar.xz" {
19-
blake3 "d5bb3cdbb559c29adaea792faf1e4650f200056ea957b1245aca2208b0a39e2e"
19+
blake3 "7945eb44a96a664dcf8abe133789cbb1685c29f892107cd12cb0dab82bc9b138"
2020
}
2121

2222
prepare {
2323
script r#"
24-
sed -i 's/-latomic//' node.gyp
24+
sed -i "/'[^']*-latomic[^']*'/d" node.gyp tools/v8_gypfiles/v8.gyp
2525
"#
2626
}
2727

@@ -31,7 +31,7 @@ build {
3131
./configure --prefix=/usr \
3232
--shared-zlib \
3333
--shared-openssl \
34-
--with-intl=none \
34+
--with-intl=full-icu \
3535
--without-report \
3636
--without-node-snapshot \
3737
--without-node-code-cache \
@@ -42,10 +42,18 @@ build {
4242

4343
install {
4444
script r#"
45-
tools/install.py install "$DESTDIR" /usr
45+
tools/install.py install --dest-dir "$DESTDIR" --prefix /usr
46+
find "$DESTDIR" -iname "*.ps1" -delete
4647
"#
4748
}
4849

4950
package "nodejs" {
50-
files "usr/bin/"
51+
files "usr/bin/" \
52+
"usr/lib/node_modules/" \
53+
"usr/share/doc/node/" \
54+
"usr/share/man/"
55+
}
56+
57+
package "nodejs-dev" {
58+
files "usr/include/"
5159
}

0 commit comments

Comments
 (0)