wok view xsnow/receipt @ rev 25778

Up fdutils (5.6), lite (1.11), vlgothic-fonts (20230918)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 20 09:06:10 2024 +0000 (2 months ago)
parents 318701ea94ca
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xsnow"
4 VERSION="1.42"
5 CATEGORY="misc"
6 SHORT_DESC="X-windows application that will let it snow on the desktop."
7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
8 LICENSE="Freeware"
9 WEB_SITE="https://janswaal.home.xs4all.nl/Xsnow/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="xorg-libXpm xorg-libXext"
14 BUILD_DEPENDS="xorg-imake xorg-gccmakedep"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Get xsnow/!d;s|.*now-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 xmkmf && make depend && make && make install
27 mkdir -p $install/usr/share/applications
28 cp -a $stuff/xsnow.desktop $install/usr/share/applications
29 cp -a $stuff/xsnow.sh $install/usr/bin
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }