wok-next view syasokoban/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | bca48f3b8bb3 |
children | 7506b35e1c6f |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://grayskygames.com/sokoban.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://grayskygames.com/sokoban/$TARBALL"
14 BUILD_DEPENDS="libsdl-dev"
16 compile_rules() {
17 sed -i 's|<stdlib.h>|&\n#include <unistd.h>|' src/Main.cpp
18 make || return 1
20 mkdir -p $install/usr/share/syasokoban/
21 cp -r $src/syasokoban $src/data $install/usr/share/syasokoban/
23 install -Dm644 $stuff/sokoban.desktop $install/usr/share/applications/sokoban.desktop
24 install -Dm755 $stuff/syasokoban $install/usr/bin/syasokoban
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="libsdl gcc-lib-base glibc-base"
30 }