Crystal 1.7.2 recipe.

This commit is contained in:
Philippe Pittoli 2023-01-19 23:37:38 +01:00
parent a460c674a9
commit d01287927d

View File

@ -1,10 +1,10 @@
name = crystal name = crystal
version = 1.0.0 version = 1.7.1
release = 0 release = 0
URL = https://github.com/crystal-lang/crystal/archive/$(version).tar.gz URL = https://github.com/crystal-lang/crystal/archive/$(version).tar.gz
build-dependencies = llvm-10-dev build-dependencies = llvm-15-dev
dependencies = libyaml libevent pcre llvm-10 libressl dependencies = libyaml libevent pcre llvm-15 libressl
SYSCONF ?= ../../ SYSCONF ?= ../../
include $(SYSCONF)/package.mk include $(SYSCONF)/package.mk
@ -25,7 +25,7 @@ fake_root_install_custom:
@mkdir -p "$(pkg_fake_root_dir)/$(PREFIX)/lib" @mkdir -p "$(pkg_fake_root_dir)/$(PREFIX)/lib"
@mkdir -p "$(pkg_fake_root_dir)/$(PREFIX)/share/man/man1" @mkdir -p "$(pkg_fake_root_dir)/$(PREFIX)/share/man/man1"
$(Q)install -m755 "$(bdir)/.build/crystal" "$(pkg_fake_root_dir)/$(PREFIX)/bin/crystal" $(Q)install -m755 "$(bdir)/bin/crystal" "$(pkg_fake_root_dir)/$(PREFIX)/bin/crystal"
$(Q)cp -r $(bdir)/src "$(pkg_fake_root_dir)/$(PREFIX)/lib/crystal" $(Q)cp -r $(bdir)/src "$(pkg_fake_root_dir)/$(PREFIX)/lib/crystal"