void-packages/srcpkgs/squeak/template

27 lines
878 B
Bash

# Template file for 'squeak'
pkgname=squeak
version=4.10.2.2614
revision=2
build_style=gnu-configure
wrksrc="Squeak-${version}-src"
configure_script="./unix/cmake/configure"
configure_args="--without-quartz --with-x --with-fbdev"
hostmakedepends="cmake pkg-config"
makedepends="glib-devel pango-devel libuuid-devel alsa-lib-devel
pulseaudio-devel dbus-devel libXrender-devel MesaLib-devel"
short_desc="Full-featured implementation of the Smalltalk programming language"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://squeakvm.org"
distfiles="http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz"
checksum=3db6d12ea223e5bc49f52af7f6f832e383a3a006a53bc8a87f6469e1af5dfc2e
# a terrible hack around terrible code
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
CFLAGS+=" -D__NEED_struct__IO_FILE"
fi
post_install() {
vlicense unix/doc/LICENSE
}