wok-current annotate xsnow/receipt @ rev 24374
avrdude: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 05 17:11:25 2022 +0000 (2022-02-05) |
parents | cc044c37d3ba |
children | 4eb0430e6d58 |
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" |
llevrel@18800 | 9 WEB_SITE="http://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 } |