wok-current view squeak-vm/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | ee9478b37d1d |
children | 934055de50e2 |
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 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./unix/cmake/configure ${ARCH_ARGS} \
29 --prefix=/usr \
30 --without-quartz \
31 --without-gl \
32 --with-x \
33 --enable-mpg-mmx &&
34 make && make DESTDIR=${DESTDIR} install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 }