wok-next view syasokoban/receipt @ rev 20405
Follow BLFS Chapter 9 "General Libraries": up apr, apr-util, aspell, autoconf213 (for js), dbus-glib, enchant, exempi, fftw, glib, glibmm, gmime, gobject-introspection, gsl, js, libboost.
js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 07 17:39:40 2017 +0200 (2017-12-07) |
parents | c4f226b02549 |
children | 1ff0133b1f8c |
line source
1 # SliTaz package receipt.
3 PACKAGE="syasokoban"
4 VERSION="2.0.1"
5 CATEGORY="games"
6 SHORT_DESC="Sokoban clone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://grayskygames.com/sokoban.html"
11 WGET_URL="http://grayskygames.com/sokoban/$TARBALL"
13 DEPENDS="libsdl gcc-lib-base glibc-base"
14 BUILD_DEPENDS="libsdl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|<stdlib.h>|&\n#include <unistd.h>|' src/Main.cpp
20 if [ ! -f gcc44.u.done ]; then
21 patch -p0 < $stuff/gcc44.u
22 touch gcc44.u.done
23 fi
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications
31 cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban
32 cp -a $stuff/sokoban.desktop $fs/usr/share/applications
33 cp -a $stuff/syasokoban $fs/usr/bin/syasokoban
34 }