wok view squeak-vm/receipt @ rev 18751
marble: remove unwanted files (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 26 17:39:02 2015 +0200 (2015-12-26) |
parents | e48fb758c6d8 |
children | 6135577f4d08 |
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="http://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 }