wok-current annotate gnubik/receipt @ rev 22543

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