wok-next annotate squeak-vm/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | ee9478b37d1d |
children | 7506b35e1c6f |
rev | line source |
---|---|
pankso@16338 | 1 # SliTaz package receipt. |
pankso@16338 | 2 |
pankso@16338 | 3 PACKAGE="squeak-vm" |
pankso@16338 | 4 VERSION="4.10.2.2614" |
pankso@16338 | 5 SOURCE="Squeak" |
pankso@16338 | 6 CATEGORY="network" |
pankso@16338 | 7 SHORT_DESC="Create and share interactive stories, games, music and art." |
pankso@16338 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@16338 | 9 LICENSE="MIT" |
pankso@16338 | 10 TARBALL="$SOURCE-$VERSION-src.tar.gz" |
pankso@16338 | 11 WEB_SITE="http://scratch.mit.edu/" |
pankso@16338 | 12 WGET_URL="http://squeakvm.org/unix/release/$TARBALL" |
pankso@16338 | 13 |
pankso@16339 | 14 SUGGESTED="scratch" |
pankso@16338 | 15 DEPENDS="alsa-lib dbus xorg-libXrender" |
pankso@16339 | 16 BUILD_DEPENDS="alsa-lib-dev dbus-dev xorg-libXrender-dev" |
pankso@16339 | 17 |
pankso@16339 | 18 # Use build host cmake when cross compiling |
pankso@16339 | 19 case "$ARCH" in |
pankso@16339 | 20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;; |
pankso@16339 | 21 arm) ARCH_ARGS="--without-SqueakFFIPrims" ;; |
pankso@16339 | 22 esac |
pankso@16338 | 23 |
pankso@16338 | 24 # Rules to configure and make the package. |
pankso@16338 | 25 compile_rules() |
pankso@16338 | 26 { |
pankso@16339 | 27 ./unix/cmake/configure ${ARCH_ARGS} \ |
pankso@16338 | 28 --prefix=/usr \ |
pankso@16338 | 29 --without-quartz \ |
pankso@16339 | 30 --without-gl \ |
pankso@16338 | 31 --with-x \ |
pankso@16338 | 32 --enable-mpg-mmx && |
pankso@16338 | 33 make && make DESTDIR=${DESTDIR} install |
pankso@16338 | 34 } |
pankso@16338 | 35 |
pankso@16338 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16338 | 37 genpkg_rules() |
pankso@16338 | 38 { |
pankso@16338 | 39 mkdir -p $fs/usr |
pankso@16338 | 40 cp -a $install/usr/bin $fs/usr |
pankso@16338 | 41 cp -a $install/usr/lib $fs/usr |
pankso@16338 | 42 } |