wok diff puzzles/receipt @ rev 25143
updated plsh (1.20171014 -> 1.20200522)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:42:01 2022 +0100 (24 months ago) |
parents | 7c0170dd3ecc |
children | 4eb0430e6d58 |
line diff
1.1 --- a/puzzles/receipt Wed Feb 23 11:49:52 2022 +0000 1.2 +++ b/puzzles/receipt Wed Jun 29 14:42:01 2022 +0100 1.3 @@ -1,18 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="puzzles" 1.7 -VERSION="20190415" 1.8 +VERSION="20220128" 1.9 CATEGORY="games" 1.10 SHORT_DESC="Misc puzzles games." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="MIT" 1.13 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/" 1.14 1.15 -TARBALL="$PACKAGE-$VERSION.e2135d5.tar.gz" 1.16 +TARBALL="$PACKAGE-$VERSION.c43a34f.tar.gz" 1.17 WGET_URL="${WEB_SITE}$TARBALL" 1.18 1.19 DEPENDS="cairo gtk+ libxcb xorg-libXrandr" 1.20 -BUILD_DEPENDS="file gtk+-dev" 1.21 +BUILD_DEPENDS="file gtk+-dev cmake" 1.22 1.23 # What is the latest version available today? 1.24 current_version() 1.25 @@ -24,26 +24,13 @@ 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - mkdir -p $DESTDIR/usr/local/games 2> /dev/null 1.30 - ./configure \ 1.31 - --prefix=/usr \ 1.32 - $CONFIGURE_ARGS && 1.33 - make && 1.34 - make DESTDIR=$DESTDIR install 1.35 + cmake -DCMAKE_INSTALL_PREFIX=/usr . && 1.36 + cmake --build . && 1.37 + make install 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - mkdir -p $fs/usr/share/pixmaps 1.44 - mkdir -p $fs/usr/share/applications 1.45 - 1.46 cp -a $install/usr/* $fs/ 1.47 - 1.48 - for img in $(ls $src/icons/*16d24*) 1.49 - do 1.50 - cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png 1.51 - done 1.52 - 1.53 - cp -a $stuff/*.desktop $fs/usr/share/applications 1.54 }