wok annotate xsnow/receipt @ rev 25793
reverted version 4.14.1 to 4.12.0 for xfconf packages
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 15:16:12 2024 +0100 (4 weeks ago) |
parents | 318701ea94ca |
children |
rev | line source |
---|---|
llevrel@18800 | 1 # SliTaz package receipt. |
llevrel@18800 | 2 |
llevrel@18800 | 3 PACKAGE="xsnow" |
llevrel@18800 | 4 VERSION="1.42" |
llevrel@18800 | 5 CATEGORY="misc" |
llevrel@18800 | 6 SHORT_DESC="X-windows application that will let it snow on the desktop." |
llevrel@18800 | 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>" |
llevrel@18800 | 8 LICENSE="Freeware" |
pascal@25180 | 9 WEB_SITE="https://janswaal.home.xs4all.nl/Xsnow/" |
llevrel@18800 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
llevrel@18800 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
llevrel@18800 | 12 |
llevrel@18800 | 13 DEPENDS="xorg-libXpm xorg-libXext" |
llevrel@18800 | 14 BUILD_DEPENDS="xorg-imake xorg-gccmakedep" |
llevrel@18800 | 15 |
pascal@24374 | 16 # What is the latest version available today? |
pascal@24374 | 17 current_version() |
pascal@24374 | 18 { |
pascal@24374 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24374 | 20 sed '/Get xsnow/!d;s|.*now-||;s|.tar.*||;q' |
pascal@24374 | 21 } |
pascal@24374 | 22 |
llevrel@18800 | 23 # Rules to configure and make the package. |
llevrel@18800 | 24 compile_rules() |
llevrel@18800 | 25 { |
llevrel@18800 | 26 xmkmf && make depend && make && make install |
llevrel@18814 | 27 mkdir -p $install/usr/share/applications |
llevrel@18814 | 28 cp -a $stuff/xsnow.desktop $install/usr/share/applications |
llevrel@18814 | 29 cp -a $stuff/xsnow.sh $install/usr/bin |
llevrel@18800 | 30 } |
llevrel@18800 | 31 |
llevrel@18800 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
llevrel@18800 | 33 genpkg_rules() |
llevrel@18800 | 34 { |
llevrel@18800 | 35 cp -a $install/* $fs |
llevrel@18800 | 36 } |