mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 17:43:51 +02:00
nim: update to 0.17.0.
This commit is contained in:
parent
536ca634f6
commit
4833eb5d08
1 changed files with 9 additions and 9 deletions
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'nim'
|
# Template file for 'nim'
|
||||||
pkgname=nim
|
pkgname=nim
|
||||||
version=0.16.0
|
version=0.17.0
|
||||||
revision=3
|
revision=1
|
||||||
_cversion=0.16.0
|
_cversion=0.17.0
|
||||||
_nimbleversion=0.8.4
|
_nimbleversion=0.8.6
|
||||||
depends="gcc"
|
depends="gcc"
|
||||||
hostmakedepends="ed"
|
hostmakedepends="ed"
|
||||||
short_desc="The Nim programming language"
|
short_desc="The Nim programming language"
|
||||||
|
@ -13,9 +13,9 @@ homepage="http://nim-lang.org/"
|
||||||
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
|
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/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"
|
https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz"
|
||||||
checksum="63b35b35d5976fec9d88e3307adb78d2e3988538e5855d13b7f6e6f89c593f7c
|
checksum="9f954f03a40e8fba32e02fcb91499e518f8e220809aef9e22bb7443c96bbbdcd
|
||||||
e909cea51c2d1f6b04af955db219877ab9f9666741ccc750334597eded80844e
|
6b8de28dc317534e45366b62dcad14b9932c0de398c44e1506f5bbd80019c671
|
||||||
ba47cee4f74c56d14d6142e9324b3a8fd5a0e6cd8cbcf81e04ae58543b848e5e"
|
af251c1011fe1d6e72a9d18a7672a8b90013dd6659085082e525d31204ca6ddf"
|
||||||
build_wrksrc=Nim-$version
|
build_wrksrc=Nim-$version
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
@ -28,7 +28,7 @@ post_extract() {
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd csources
|
cd csources
|
||||||
CFLAGS= sh build.sh
|
CFLAGS= LDFLAGS= sh build.sh
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
ed lib/wrappers/openssl.nim <<-EDIT
|
ed lib/wrappers/openssl.nim <<-EDIT
|
||||||
|
@ -61,7 +61,7 @@ do_build() {
|
||||||
for _p in \
|
for _p in \
|
||||||
dist/nimble/src/nimble \
|
dist/nimble/src/nimble \
|
||||||
tools/nimgrep \
|
tools/nimgrep \
|
||||||
tools/nimsuggest/nimsuggest
|
nimsuggest/nimsuggest
|
||||||
do
|
do
|
||||||
bin/nim c -d:release --os:linux --cpu:$_arch --listCmd $_p
|
bin/nim c -d:release --os:linux --cpu:$_arch --listCmd $_p
|
||||||
mv $_p bin
|
mv $_p bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue