nim: update to 0.20.0.
This commit is contained in:
parent
2d5eeaf7f9
commit
7cf44564e1
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'nim'
|
||||
pkgname=nim
|
||||
version=0.19.4
|
||||
version=0.20.0
|
||||
revision=1
|
||||
_cversion=0.19.0
|
||||
_nimbleversion=0.9.0
|
||||
_cversion=0.20.0
|
||||
_nimbleversion=0.10.2
|
||||
create_wrksrc=yes
|
||||
build_wrksrc=Nim-$version
|
||||
hostmakedepends="ed"
|
||||
|
@ -15,9 +15,9 @@ homepage="https://nim-lang.org/"
|
|||
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
|
||||
https://github.com/nim-lang/csources/archive/v${_cversion}.tar.gz>csources-${_cversion}.tar.gz
|
||||
https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz"
|
||||
checksum="172cf80be15f9cab6d0ba802be98a739dd1083243d4df69e1c2c67c0298db118
|
||||
68042afae0b24915acac813b52b9ee0a303219e990d3bfa05ca57fb6bbc51578
|
||||
d02cc0b1787fa30e6d88a1ee7aa067c1555b7763d2716742d1d10132df550456"
|
||||
checksum="53f96a92cd1a46360b1fab44720d331536bbd18993a81746e973af46fdad8fbb
|
||||
5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c
|
||||
ef62b38ad41f9d84b4c9206b10541f1dc7498edda16b2031d96eaa873f4f9730"
|
||||
|
||||
post_extract() {
|
||||
mv csources-$_cversion $build_wrksrc/csources
|
||||
|
@ -27,7 +27,7 @@ post_extract() {
|
|||
|
||||
do_build() {
|
||||
cd csources
|
||||
CC=gcc LD=gcc CFLAGS= LDFLAGS= sh build.sh
|
||||
CC=cc LD=cc CFLAGS="-Os -pipe" LDFLAGS= sh build.sh
|
||||
cd ..
|
||||
|
||||
ed lib/wrappers/openssl.nim <<-EDIT
|
||||
|
|
Loading…
Reference in New Issue