mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
yarn: new recipe
This commit is contained in:
29
sys-apps/yarn/yarn-1.22.5.recipe
Normal file
29
sys-apps/yarn/yarn-1.22.5.recipe
Normal file
@@ -0,0 +1,29 @@
|
||||
SUMMARY="Node dependency management"
|
||||
DESCRIPTION="Fast, reliable, and secure dependency management."
|
||||
HOMEPAGE="https://classic.yarnhpkg.com"
|
||||
COPYRIGHT="2016-present, Yarn Contributors"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/yarnpkg/yarn/releases/download/v$portVersion/yarn-v$portVersion.tar.gz"
|
||||
SOURCE_DIR="yarn-v$portVersion"
|
||||
CHECKSUM_SHA256="c664fb4692e4dfea750a37a533780834b40198c00cef4bbc5e8c14abab2ac141"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
yarn = $portVersion
|
||||
cmd:yarn = $portVersion
|
||||
cmd:yarnpkg = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
cmd:node
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $libDir/node_modules/yarn $prefix/bin
|
||||
cp -R * $libDir/node_modules/yarn
|
||||
|
||||
ln -sr $libDir/node_modules/yarn/bin/yarn.js $prefix/bin/yarn
|
||||
ln -sr $libDir/node_modules/yarn/bin/yarn.js $prefix/bin/yarnpkg
|
||||
}
|
||||
Reference in New Issue
Block a user