smlinux/base/nodejs/nodejs.SMBuild
PktSurf fd68de3553 Upgraded base/llvm to 17.0.6
Fixed base/mandoc build configuration file
Upgraded base/xmlto to 0.0.29
Added /usr as build prefix to above build files and also to base/nodejs
2024-10-21 14:59:42 +05:30

35 lines
753 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=nodejs
version=18.14.2
build=1sml
homepage="https://nodejs.org/en/"
desc="Asynchronous event-driven Javascript engine designed to build scalable network applications"
requires="openssl gyp"
ignoreusrbin=1
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--shared-zlib \
--shared-openssl
make
make install DESTDIR=$pkg
install -Dm 644 LICENSE $pkgdocs/LICENSE
mkfinalpkg
}
sha512sums="
92ec5fe834e4574b312d2b8baacfe96fdf02becaf32c6dc8d4c667a782f67a53f5a23bc8b34ca9cf8e26fab782c4c39d23a5c17ac8336b4ce0079003267d96d2 nodejs-18.14.2.tar.lz
"