wok-current view rubix/receipt @ rev 25077
updated openvswitch and openvswitch-dev (2.14.0 -> 2.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 14:50:09 2022 +0100 (2022-06-15) |
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 }