wok-current view sudoku-savant/receipt @ rev 19853
Remove tazchroot (not used for yearsand unusable)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 16 18:35:33 2017 +0100 (2017-03-16) |
parents | 051931e905b0 |
children | 86790a278e70 |
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="http://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 }