wok view xsnow/receipt @ rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents cc044c37d3ba
children 4eb0430e6d58
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="http://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 }