wok-current view rubix/receipt @ rev 25573
updated asterisk and asterisk-dev (11.1.1 -> 20.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 13 16:27:48 2023 +0100 (19 months ago) |
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 }