void-packages/srcpkgs/racket/template

28 lines
771 B
Bash

# Template file for 'racket'
pkgname=racket
version=6.4
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 <miwaxe@gmail.com>"
license="LGPL-3"
homepage="http://racket-lang.org/"
distfiles="http://mirror.racket-lang.org/installers/$version/$pkgname-$version-src.tgz"
checksum=86afcebcd49cc734a3b1fdb525e78f5d57de6269f83de5c014f3cf9043c2dfe3
nostrip=yes
configure_args="--disable-docs"
only_for_archs="i686 x86_64 armv5tel armv6l armv7l aarch64"
if [ "$CROSS_BUILD" ]; then
configure_args+=" --enable-racket=/usr/bin/racket"
hostmakedepends+=" racket"
fi
post_install() {
vlicense COPYING-libscheme.txt
}