wok-next view sudoku-savant/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
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 }