wok-6.x view rubix/receipt @ rev 25107

Up open-iscsi (2.0.873)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 17:23:49 2022 +0000 (2022-06-22)
parents 453c249b6219
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rubix"
4 VERSION="1.0.6"
5 CATEGORY="games"
6 SHORT_DESC="A 3D rubiks cube game for X."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://sed.free.fr/rubix"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="xorg-libX11 libxcb xorg-libXau xorg-libXdmcp"
14 BUILD_DEPENDS="xorg-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/rubix-[0-9]/!d;/tar/!d;s|.*rubix-||;s|.tar.*||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/rubix $fs/usr/bin
37 }