wok-next annotate syasokoban/receipt @ rev 20475
Tiny edits: libsdl-mixer, scummvm, stella, syasokoban, sz81, tuxpaint, workerfm...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 11 13:37:02 2018 +0200 (2018-03-11) |
parents | bca48f3b8bb3 |
children | 7506b35e1c6f |
rev | line source |
---|---|
al@20475 | 1 # SliTaz package receipt v2. |
pascal@4071 | 2 |
pascal@4071 | 3 PACKAGE="syasokoban" |
pascal@4071 | 4 VERSION="2.0.1" |
pascal@4071 | 5 CATEGORY="games" |
al@20475 | 6 SHORT_DESC="Sokoban clone" |
pascal@4071 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15581 | 8 LICENSE="GPL2 BSD" |
al@20475 | 9 WEB_SITE="http://grayskygames.com/sokoban.html" |
al@20475 | 10 |
pascal@4071 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4071 | 12 WGET_URL="http://grayskygames.com/sokoban/$TARBALL" |
pascal@15581 | 13 |
pascal@4071 | 14 BUILD_DEPENDS="libsdl-dev" |
pascal@4071 | 15 |
al@20475 | 16 compile_rules() { |
pascal@20137 | 17 sed -i 's|<stdlib.h>|&\n#include <unistd.h>|' src/Main.cpp |
al@20475 | 18 make || return 1 |
al@20475 | 19 |
al@20475 | 20 mkdir -p $install/usr/share/syasokoban/ |
al@20475 | 21 cp -r $src/syasokoban $src/data $install/usr/share/syasokoban/ |
al@20475 | 22 |
al@20475 | 23 install -Dm644 $stuff/sokoban.desktop $install/usr/share/applications/sokoban.desktop |
al@20475 | 24 install -Dm755 $stuff/syasokoban $install/usr/bin/syasokoban |
pascal@4071 | 25 } |
pascal@4071 | 26 |
al@20475 | 27 genpkg_rules() { |
al@20475 | 28 copy @std |
al@20475 | 29 DEPENDS="libsdl gcc-lib-base glibc-base" |
pascal@4071 | 30 } |