wok-6.x view squeak-vm/receipt @ rev 24700

updated kexec-tools (2.0.17 -> 2.0.23)
author Hans-G?nter Theisgen
date Mon Mar 14 07:45:56 2022 +0100 (2022-03-14)
parents 6135577f4d08
children
line source
1 # SliTaz package receipt.
3 PACKAGE="squeak-vm"
4 VERSION="4.10.2.2614"
5 SOURCE="Squeak"
6 CATEGORY="network"
7 SHORT_DESC="Create and share interactive stories, games, music and art."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION-src.tar.gz"
11 WEB_SITE="https://scratch.mit.edu/"
12 WGET_URL="http://squeakvm.org/unix/release/$TARBALL"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="scratch"
16 DEPENDS="alsa-lib dbus xorg-libXrender"
17 BUILD_DEPENDS="alsa-lib-dev dbus-dev xorg-libXrender-dev"
19 # Use build host cmake when cross compiling
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
22 arm) ARCH_ARGS="--without-SqueakFFIPrims" ;;
23 esac
25 # What is the latest version available today?
26 current_version()
27 {
28 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
29 sed '/Squeak-[0-9]/!d;/-src/!d;s|.*Squeak-||;s|-src.*||' | sort -Vr | sed q
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./unix/cmake/configure ${ARCH_ARGS} \
36 --prefix=/usr \
37 --without-quartz \
38 --without-gl \
39 --with-x \
40 --enable-mpg-mmx &&
41 make && make DESTDIR=${DESTDIR} install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib $fs/usr
50 }