wok view sudoku-savant/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents 4897058add72
children c4f226b02549
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 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
8 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXrandr \
9 xorg-libXrender xorg-libXinerama xorg-libXdamage gcc-lib-base"
10 BUILD_DEPENDS="gtk+-dev libpthread-stubs"
11 MAINTAINER="pankso@slitaz.org"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://sourceforge.net/projects/sudoku-savant/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --bindir=/usr/games \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 # desktop-file-install workaround
28 [ -x _pkg/usr/games/sudoku-savant ] && \
29 echo "Continue: desktop-file-install dont support busybox install..."
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
36 cp -a $_pkg/usr/games $fs/usr
37 cp $src/$PACKAGE.png $fs/usr/share/pixmaps
38 cp $src/$PACKAGE.desktop $fs/usr/share/applications
39 }