Package Details: janet-lang 1.7.0-1

Git Clone URL: (read-only, click to copy)
Package Base: janet-lang
Description: A dynamic Lisp dialect and bytecode vm
Upstream URL:
Licenses: MIT
Conflicts: janet-lang-git
Provides: janet
Submitter: GrayJack
Maintainer: GrayJack
Last Packager: GrayJack
Votes: 3
Popularity: 0.006705
First Submitted: 2019-02-24 02:32
Last Updated: 2020-02-02 16:55

Latest Comments

nac commented on 2019-05-26 23:07

I haven't looked at the major differences between this package and janet-lang-git, but the git version seems to place the header files correctly in my file system, while this package creates symlinks pointing to the build directory location.

GrayJack commented on 2019-05-24 00:47

Looks like "JANET_BUILD" is just a constant used to print in the repl, shouldn't make much difference since this specific error is ignored if happens

GrayJack commented on 2019-05-22 22:57

I think I'll let static for now, I'll look into making id dynamic with 1.0 release (looks like that will be soon)

Can be done with git + version tag I think

gambpang commented on 2019-05-19 04:14

Installing this package, I had some errors because the makefile assumes that it will be run in a clone of the janet-lang repo; but the script runs it in just a copy of the tree. The patch below resolves these errors, but would be better if the short commit hash associated with the version tag could be computed instead of hard-coded.

@@ -15,19 +15,21 @@ conflicts=('janet-lang-git')

 #prepare() {
 #    cd "${srcdir}/${_pkgname}-${pkgver}"

 build() {
     cd "${srcdir}/${_pkgname}-${pkgver}"
-    make PREFIX="/usr" CC=clang -j7
+    make PREFIX="/usr" CC=clang $janet_build -j7

 package() {
     cd "${srcdir}/${_pkgname}-${pkgver}"
-    make PREFIX="${pkgdir}/usr" install
-    make PREFIX="${pkgdir}/usr" docs
+    make PREFIX="${pkgdir}/usr" $janet_build install
+    make PREFIX="${pkgdir}/usr" $janet_build docs
     mkdir -p ${pkgdir}/usr/share/janet
     cp -a examples ${pkgdir}/usr/share/janet
     cp -a build/doc.html ${pkgdir}/usr/share/janet