wok-current view gnubik/receipt @ rev 25529
created recipe for neovim-0.8.3
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 14:14:14 2023 +0100 (22 months ago) |
parents | 406d72ffc7d7 |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cp icons/logo22.png icons/logo24.png
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 $CONFIGURE_ARGS &&
32 make &&
33 make -j DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 cp $src/icons/gnubik.desktop $fs/usr/share/applications
41 rm -f $fs/usr/share/applications/gen-dot-desktop.scm
42 rm -rf $fs/usr/share/info
43 }