wok-current view xsnow/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 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 }