void-packages/srcpkgs/racket/template

32 lines
908 B
Bash

# Template file for 'racket'
pkgname=racket
version=6.10
revision=1
build_style=gnu-configure
build_wrksrc=src
hostmakedepends="gsfonts"
makedepends="sqlite-devel gtk+-devel"
depends="gtk+"
short_desc="A programmable programming language"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="LGPL-3"
homepage="http://racket-lang.org/"
distfiles="http://mirror.racket-lang.org/installers/$version/$pkgname-$version-src.tgz"
checksum=40f3d263af887b9c49382a9f66f0b972dad5840b61e9e79b084d71b586f416d7
nostrip=yes
configure_args="--disable-docs"
only_for_archs="i686 x86_64 armv5tel armv6l armv7l aarch64"
case "${XBPS_TARGET_MACHINE}" in
i686) broken="http://build.voidlinux.eu/builders/i686_builder/builds/492/steps/shell_3/logs/stdio"
esac
if [ "$CROSS_BUILD" ]; then
configure_args+=" --enable-racket=/usr/bin/racket"
hostmakedepends+=" racket"
fi
post_install() {
vlicense COPYING-libscheme.txt
}