mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
parent
48df397eff
commit
5876bf5978
1 changed files with 8 additions and 6 deletions
|
@ -1,8 +1,6 @@
|
||||||
# Template file for 'nim'
|
# Template file for 'nim'
|
||||||
pkgname=nim
|
pkgname=nim
|
||||||
version=0.11.2
|
version=0.11.2
|
||||||
# version of the c-bootstrapping code
|
|
||||||
_cversion=0.9.4
|
|
||||||
revision=1
|
revision=1
|
||||||
depends="gcc"
|
depends="gcc"
|
||||||
hostmakedepends="libzip git ed"
|
hostmakedepends="libzip git ed"
|
||||||
|
@ -10,12 +8,16 @@ short_desc="The Nim programming language"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://nim-lang.org/"
|
homepage="http://nim-lang.org/"
|
||||||
distfiles="https://github.com/Araq/Nim/archive/v${version}.tar.gz
|
distfiles="https://github.com/Araq/Nim/archive/v${version}.tar.gz"
|
||||||
https://github.com/nim-lang/csources/archive/v${_cversion}.tar.gz"
|
checksum=8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6
|
||||||
checksum="8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6
|
|
||||||
e0b1a2d36e05dfea29948a76bdb052de183dd9bd99a8fecf0fce9ddad00476c4"
|
|
||||||
wrksrc=Nim-$version
|
wrksrc=Nim-$version
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
cd $wrksrc
|
||||||
|
test -d csources ||
|
||||||
|
git clone --depth=1 https://github.com/nim-lang/csources
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
arm*)
|
arm*)
|
||||||
|
|
Loading…
Add table
Reference in a new issue