wok-current view sudoku-savant/receipt @ rev 25244
updated python-tweepy (3.8.0 -> 3.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 06:55:43 2022 +0100 (2022-07-14) |
parents | 86790a278e70 |
children | ad0bc3efbf37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sudoku-savant"
4 VERSION="1.3"
5 CATEGORY="games"
6 SHORT_DESC="Sudoku games/generator using GTK."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://sourceforge.net/projects/sudoku-savant/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
14 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXrandr \
15 xorg-libXrender xorg-libXinerama xorg-libXdamage gcc-lib-base"
16 BUILD_DEPENDS="gtk+-dev libpthread-stubs desktop-file-utils-extra \
17 coreutils-operations"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/sudoku-savant/files/sudoku-savant/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*savant-||;s|.tar.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure \
32 --prefix=/usr \
33 --bindir=/usr/games \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 # desktop-file-install workaround
39 [ -x $DESTDIR/usr/games/sudoku-savant ] && \
40 echo "Continue: desktop-file-install dont support busybox install..."
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
47 cp -a $install/usr/games $fs/usr
48 cp $src/$PACKAGE.png $fs/usr/share/pixmaps
49 cp $src/$PACKAGE.desktop $fs/usr/share/applications
50 }