wok-6.x annotate gnubik/receipt @ rev 24600

updated ghostscript and ghostscript-dev again (9.02 -> 9.55.0)
author Hans-G?nter Theisgen
date Wed Mar 02 07:43:51 2022 +0100 (2022-03-02)
parents 406d72ffc7d7
children
rev   line source
pascal@22541 1 # SliTaz package receipt.
pascal@22541 2
pascal@22541 3 PACKAGE="gnubik"
pascal@22541 4 VERSION="2.4.2"
pascal@22541 5 CATEGORY="games"
pascal@22541 6 SHORT_DESC="An interactive, graphical, single player rubik cube puzzle"
pascal@22541 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@22541 8 LICENSE="GPL3"
pascal@22541 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22541 10 WEB_SITE="https://www.gnu.org/software/gnubik/"
pascal@22541 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@22541 12
pascal@22541 13 DEPENDS="mesa gtk+ gtkglext guile"
pascal@22541 14 BUILD_DEPENDS="mesa-dev gtk+-dev gtkglext-dev guile-dev"
pascal@22543 15 SUGGESTED="mesa-dri"
pascal@22541 16
pascal@24336 17 # What is the latest version available today?
pascal@24336 18 current_version()
pascal@24336 19 {
pascal@24336 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 22 }
pascal@24336 23
pascal@22541 24 # Rules to configure and make the package.
pascal@22541 25 compile_rules()
pascal@22541 26 {
pascal@22541 27 cp icons/logo22.png icons/logo24.png
pascal@22541 28 ./configure \
pascal@22541 29 --prefix=/usr \
pascal@22541 30 --infodir=/usr/share/info \
pascal@22541 31 $CONFIGURE_ARGS &&
pascal@22541 32 make &&
pascal@22544 33 make -j DESTDIR=$DESTDIR install
pascal@22541 34 }
pascal@22541 35
pascal@22541 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@22541 37 genpkg_rules()
pascal@22541 38 {
pascal@22544 39 cp -a $install/usr $fs
pascal@22543 40 cp $src/icons/gnubik.desktop $fs/usr/share/applications
pascal@22544 41 rm -f $fs/usr/share/applications/gen-dot-desktop.scm
pascal@22541 42 rm -rf $fs/usr/share/info
pascal@22541 43 }