wok-6.x view sudoku-savant/receipt @ rev 20458

Up amule (2.3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 10 10:43:41 2018 +0200 (2018-10-10)
parents 6532d445e8a8
children e919c5a2742d
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --bindir=/usr/games \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 # desktop-file-install workaround
31 [ -x $DESTDIR/usr/games/sudoku-savant ] && \
32 echo "Continue: desktop-file-install dont support busybox install..."
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
39 cp -a $install/usr/games $fs/usr
40 cp $src/$PACKAGE.png $fs/usr/share/pixmaps
41 cp $src/$PACKAGE.desktop $fs/usr/share/applications
42 }