wok diff frogatto/receipt @ rev 21765
updated frogatto and frogatto-data (1.1.1 -> 1.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 29 09:06:33 2019 +0100 (2019-06-29) |
parents | 205d192370e5 |
children | 781ac64941ee |
line diff
1.1 --- a/frogatto/receipt Tue Aug 13 13:22:54 2013 +0000 1.2 +++ b/frogatto/receipt Sat Jun 29 09:06:33 2019 +0100 1.3 @@ -1,36 +1,42 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="frogatto" 1.7 -VERSION="1.1.1" 1.8 +VERSION="1.3.1" 1.9 CATEGORY="games" 1.10 -SHORT_DESC="An old-school 2d platformer game, starring a certain quixotic frog." 1.11 +SHORT_DESC="An old-school 2d platform game, starring a certain quixotic frog." 1.12 MAINTAINER="gokhlayeh@slitaz.org" 1.13 LICENSE="GPL3" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 -WEB_SITE="http://www.frogatto.com" 1.16 -WGET_URL="$WEB_SITE/files/$TARBALL" 1.17 +WEB_SITE="https://www.frogatto.com" 1.18 1.19 -DEPENDS="xorg-server mesa glew libsdl libsdl-image libsdl-ttf libsdl-mixer libpng \ 1.20 -libboost-regex libboost-system libboost-date-time libboost-thread libboost-iostreams \ 1.21 -frogatto-data" 1.22 -BUILD_DEPENDS="${DEPENDS/frogatto-data/} ccache xorg-server-dev mesa-dev libsdl-dev libsdl-image-dev \ 1.23 -libsdl-ttf-dev libsdl-mixer-dev libpng-dev libboost-regex-dev libboost-system-dev \ 1.24 -libboost-date-time-dev libboost-thread-dev libboost-iostreams-dev glew-dev" 1.25 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.26 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION/$TARBALL" 1.27 + 1.28 +DEPENDS="frogatto-data glew libboost-date-time libboost-iostreams \ 1.29 + libboost-regex libboost-system libboost-thread libpng \ 1.30 + libsdl libsdl-image libsdl-mixer libsdl-ttf mesa xorg-server" 1.31 +BUILD_DEPENDS="${DEPENDS/frogatto-data/} ccache core-utils glew-dev \ 1.32 + libboost-date-time-dev libboost-iostreams-dev libboost-regex-dev \ 1.33 + libboost-system-dev libboost-thread-dev libpng-dev libsdl-dev \ 1.34 + libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev mesa-dev \ 1.35 + xorg-server-dev" 1.36 1.37 # Rules to configure and make the package. 1.38 compile_rules() 1.39 { 1.40 - cd $src 1.41 + patch --input=$stuff/patches/server.cpp-1.3.1 1.42 + src/server.cpp 1.43 1.44 # Frogatto look for multithread libbost (*-mt.so) but we don't use 1.45 # them in SliTaz, let's lure it. 1.46 - for lib in $(ls /usr/lib/libboost*); do 1.47 + for lib in $(ls /usr/lib/libboost*) 1.48 + do 1.49 link=$(echo $lib | sed 's/\./-mt./') 1.50 ln -s $lib $link 1.51 - done 1.52 + done 1.53 1.54 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652756#19 1.55 - sed -i 's/io_service()/get_io_service()/' $src/src/server.cpp 1.56 +# sed -i 's/io_service()/get_io_service()/' $src/src/server.cpp 1.57 +# not required with version 1.3.1 1.58 1.59 make $MAKEFLAGS game server 1.60 1.61 @@ -41,8 +47,12 @@ 1.62 # Rules to gen a SliTaz package suitable for Tazpkg. 1.63 genpkg_rules() 1.64 { 1.65 - mkdir -p $fs/usr/games/frogatto $fs/usr/bin $fs/usr/share/pixmaps 1.66 - cp -a $src/game $src/server $fs/usr/games/frogatto 1.67 - cp -a $src/images/window-icon.png $fs/usr/share/pixmaps 1.68 - cp -a $stuff/frogatto $fs/usr/bin 1.69 + mkdir -p $fs/usr/games/frogatto 1.70 + mkdir -p $fs/usr/bin 1.71 + mkdir -p $fs/usr/share/pixmaps 1.72 + 1.73 + cp -a $src/game $fs/usr/games/frogatto 1.74 + cp -a $src/server $fs/usr/games/frogatto 1.75 + cp -a $src/images/window-icon.png $fs/usr/share/pixmaps 1.76 + cp -a $stuff/frogatto $fs/usr/bin 1.77 }