wok-current view gnubik/receipt @ rev 23913
Add linux-mmc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 16 17:17:01 2020 +0000 (2020-08-16) |
parents | 725f9e142e30 |
children | 71360a13cd94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnubik"
4 VERSION="2.4.2"
5 CATEGORY="games"
6 SHORT_DESC="An interactive, graphical, single player rubik cube puzzle"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.gnu.org/software/gnubik/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="mesa gtk+ gtkglext guile"
14 BUILD_DEPENDS="mesa-dev gtk+-dev gtkglext-dev guile-dev"
15 SUGGESTED="mesa-dri"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cp icons/logo22.png icons/logo24.png
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 $CONFIGURE_ARGS &&
25 make &&
26 make -j DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 cp $src/icons/gnubik.desktop $fs/usr/share/applications
34 rm -f $fs/usr/share/applications/gen-dot-desktop.scm
35 rm -rf $fs/usr/share/info
36 }