New package: ol-2.0

This commit is contained in:
rc-05 2019-06-13 00:00:40 +02:00 committed by Jürgen Buchmüller
parent 259921da7a
commit a2402b84cb
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# Thanks to Chocimier for the patch!
diff --git Makefile Makefile
index 29ea60f..d586472 100644
--- Makefile
+++ Makefile
@@ -7,6 +7,7 @@ export OL_HOME=libraries
all: release
CC ?= gcc
+LD ?= ld
UNAME ?= $(shell uname -s)
# 'configure' part:
@@ -167,7 +168,7 @@ src/olvm.c: extensions/ffi.c
touch src/olvm.c
$(repl.o): repl
- ld -r -b binary -o $(repl.o) repl
+ $(LD) -r -b binary -o $(repl.o) repl

15
srcpkgs/ol/template Normal file
View file

@ -0,0 +1,15 @@
# Template file for 'ol'
pkgname=ol
version=2.0
revision=1
build_style=gnu-makefile
short_desc="Purely functional dialect of Lisp"
maintainer="rc-05 <rc23@email.it>"
license="LGPL-3.0-or-later, MIT"
homepage="https://yuriy-chumak.github.io/ol/"
distfiles="https://github.com/yuriy-chumak/ol/archive/v${version}.tar.gz"
checksum=5ad537b6bd032549334d1c72e742b78b7d40ccb8d1491d5cf0ce952964deeeea
post_install() {
vlicense LICENSE
}