wok-next view squeak-vm/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | ee9478b37d1d |
children | 7506b35e1c6f |
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"
14 SUGGESTED="scratch"
15 DEPENDS="alsa-lib dbus xorg-libXrender"
16 BUILD_DEPENDS="alsa-lib-dev dbus-dev xorg-libXrender-dev"
18 # Use build host cmake when cross compiling
19 case "$ARCH" in
20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
21 arm) ARCH_ARGS="--without-SqueakFFIPrims" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./unix/cmake/configure ${ARCH_ARGS} \
28 --prefix=/usr \
29 --without-quartz \
30 --without-gl \
31 --with-x \
32 --enable-mpg-mmx &&
33 make && make DESTDIR=${DESTDIR} install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 }