35 lines
899 B
Bash
35 lines
899 B
Bash
# Template file for 'racket'
|
|
pkgname=racket
|
|
version=6.12
|
|
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=655e052847c53e7c64ab9ad2247860c7b9abe2c4b0966474f0375127fff58c33
|
|
nostrip=yes
|
|
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
|
|
}
|
|
|
|
racket-doc_package() {
|
|
noarch=yes
|
|
short_desc+=" -- documentation"
|
|
depends="racket>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc/racket
|
|
}
|
|
}
|