wok-6.x annotate squeak-vm/receipt @ rev 17533
Add libssh2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 21 17:12:27 2015 +0100 (2015-01-21) |
parents | e48fb758c6d8 |
children | 6135577f4d08 |
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 HOST_ARCH="i486 arm" |
pankso@16338 | 14 |
pankso@16339 | 15 SUGGESTED="scratch" |
pankso@16338 | 16 DEPENDS="alsa-lib dbus xorg-libXrender" |
pankso@16339 | 17 BUILD_DEPENDS="alsa-lib-dev dbus-dev xorg-libXrender-dev" |
pankso@16339 | 18 |
pankso@16339 | 19 # Use build host cmake when cross compiling |
pankso@16339 | 20 case "$ARCH" in |
pankso@16339 | 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;; |
pankso@16339 | 22 arm) ARCH_ARGS="--without-SqueakFFIPrims" ;; |
pankso@16339 | 23 esac |
pankso@16338 | 24 |
pankso@16338 | 25 # Rules to configure and make the package. |
pankso@16338 | 26 compile_rules() |
pankso@16338 | 27 { |
pankso@16339 | 28 ./unix/cmake/configure ${ARCH_ARGS} \ |
pankso@16338 | 29 --prefix=/usr \ |
pankso@16338 | 30 --without-quartz \ |
pankso@16339 | 31 --without-gl \ |
pankso@16338 | 32 --with-x \ |
pankso@16338 | 33 --enable-mpg-mmx && |
pankso@16338 | 34 make && make DESTDIR=${DESTDIR} install |
pankso@16338 | 35 } |
pankso@16338 | 36 |
pankso@16338 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16338 | 38 genpkg_rules() |
pankso@16338 | 39 { |
pankso@16338 | 40 mkdir -p $fs/usr |
pankso@16338 | 41 cp -a $install/usr/bin $fs/usr |
pankso@16338 | 42 cp -a $install/usr/lib $fs/usr |
pankso@16338 | 43 } |