wok view xpenguins/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks 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 }