wok view xpenguins/receipt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents 55606cf026f1
children
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="https://web.archive.org/web/20170620061938/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 }