mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
* lit: add recipe * luvi: add recipe * luvit: add recipe * luvi: Remove a file that I accidentally pushed * Fix the lint error * lit: fix lint issue ... * luvi, lit, luvit: change install path, fix lint * luvit: fix lint (again...) Finally decided to use a proper trailing space checker, it should be good to go * luvi: remove patch * luvi: remove additional files * lit: Rename lit to lulit Done to avoid conflict with LLVM's lit, the name is taken from AUR * lit: Fix provides command name * lit: clarify why I named it lulit * lit: Make the explaination more clear and in a line before the command Thanks Begasus :) Co-authored-by: Schrijvers Luc <begasus@gmail.com> --------- Co-authored-by: Schrijvers Luc <begasus@gmail.com>
58 lines
1.1 KiB
Bash
58 lines
1.1 KiB
Bash
SUMMARY="A project in-between luv and luvit"
|
|
DESCRIPTION="luvi is a project in-between luv and luvit.
|
|
The goal of this is to make building luvit and derivatives much easier."
|
|
HOMEPAGE="https://github.com/luvit/luvi"
|
|
COPYRIGHT="2012 The Luvit Authors
|
|
Portions of this software were based on Node.js, \
|
|
Joyent, Inc. and other Node contributors.
|
|
"
|
|
LICENSE="Apache v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/luvit/luvi/releases/download/v$portVersion/luvi-source.tar.gz"
|
|
CHECKSUM_SHA256="91f40fb6421888c2ee403de80248250c234f3bfb6dd1edbbc9188a89e4b9708a"
|
|
SOURCE_FILENAME="luvi-$portVersion.tar.gz"
|
|
SOURCE_DIR=""
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
SECONDARY_ARCHITECTURES="?x86" # luv has this, and official Windows build of luvi supports 32 bit, so assuming that it works
|
|
fi
|
|
|
|
PROVIDES="
|
|
luvi = $portVersion
|
|
cmd:luvi
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
cmd:install
|
|
cmd:cmake
|
|
cmd:perl
|
|
cmd:git
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make regular
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $prefix/bin
|
|
install -m 0755 build/luvi $prefix/bin
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make test
|
|
}
|