wok-next view sudoku-savant/receipt @ rev 21168
New package asciidoctor
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 25 12:22:25 2019 +0200 (2019-03-25) |
parents | d5aab818505e |
children |
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="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://sourceforge.net/projects/sudoku-savant/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev libpthread-stubs desktop-file-utils-extra \
15 coreutils-operations"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --bindir=/usr/games \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$install install
26 # desktop-file-install workaround
27 [ -x $install/usr/games/sudoku-savant ] &&
28 echo "Continue: desktop-file-install dont support busybox install..."
29 }
31 genpkg_rules() {
32 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
33 cp -a $install/usr/games $fs/usr
34 cp $src/$PACKAGE.png $fs/usr/share/pixmaps
35 cp $src/$PACKAGE.desktop $fs/usr/share/applications
36 DEPENDS="expat gtk2 libx11 libxau libxcomposite \
37 libxcursor libxdmcp libxext libxfixes libxrandr \
38 libxrender libxinerama libxdamage gcc-lib-base"
39 }