Skip to content

Commit c48d39b

Browse files
committed
ports/tinyvvm: New port
1 parent 19ffe7b commit c48d39b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

recipes/tinyvvm

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#! /bin/sh
2+
3+
name=tinyvvm
4+
skip_pkg_check=yes
5+
version=0.0git
6+
revision=1
7+
git_url="https://github.com/Eliyaan/tinyvvm.git"
8+
commit=85ddc187770c833818f3e8dacf1a8d7dd8d2b444
9+
hostdeps="gcc pkg-config v"
10+
deps="core-libs libx11"
11+
12+
build() {
13+
cp -rp "${source_dir}"/. ./
14+
15+
set -x
16+
17+
VCROSS_COMPILER_NAME=${OS_TRIPLET}-gcc \
18+
v \
19+
-os vinix \
20+
-gc none \
21+
-prod \
22+
-autofree \
23+
-cflags "$TARGET_CFLAGS" \
24+
-ldflags "$TARGET_LDFLAGS" \
25+
.
26+
27+
set +x
28+
}
29+
30+
package() {
31+
install -d "${dest_dir}/usr/bin"
32+
install tinyvvm "${dest_dir}/usr/bin/"
33+
34+
post_package_strip
35+
}

0 commit comments

Comments
 (0)