SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xsnow"

# SliTaz package receipt.

PACKAGE="xsnow"
VERSION="1.42"
CATEGORY="misc"
SHORT_DESC="X-windows application that will let it snow on the desktop."
MAINTAINER="Lucas Levrel <llev@slitaz.org>"
LICENSE="Freeware"
WEB_SITE="https://janswaal.home.xs4all.nl/Xsnow/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/$TARBALL"

DEPENDS="xorg-libXpm xorg-libXext"
BUILD_DEPENDS="xorg-imake xorg-gccmakedep"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/Get xsnow/!d;s|.*now-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    xmkmf && make depend && make && make install
    mkdir -p $install/usr/share/applications
    cp -a $stuff/xsnow.desktop $install/usr/share/applications
    cp -a $stuff/xsnow.sh $install/usr/bin
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)