wok view xpenguins/receipt @ rev 24979

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 07 20:53:56 2022 +0000 (24 months ago)
parents 453c249b6219
children 55606cf026f1
line source
1 # SliTaz package receipt.
3 PACKAGE="xpenguins"
4 VERSION="2.2"
5 CATEGORY="misc"
6 SHORT_DESC="Cute little penguins walking along the tops of your windows"
7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
8 LICENSE="GPL"
9 WEB_SITE="https://ratrabbit.nl/ratrabbit/software/xpenguins/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://xpenguins.seul.org/$TARBALL"
13 DEPENDS="xorg-libXpm xorg-libX11 xorg-libXext"
14 BUILD_DEPENDS="xorg-libXpm-dev xorg-libX11-dev xorg-libXext-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS --prefix=/usr &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 mkdir -p $install/usr/share/applications
30 cp -a $stuff/xpenguins.desktop $install/usr/share/applications
31 cp -a $stuff/xpenguins.sh $install/usr/bin
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -r $fs/usr/share/man
39 }