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