#!/bin/sh

name="xsnow"
title="Xsnow"
package="xsnow"
version="1.42"
build="1"
noarch="n"
build_info="Standard build."

info="Xsnow will spread Christmas cheer on your X display."
desc="A continual gentle snowfall is accompanied by Santa Claus flying
his sleigh around your screen. Don't forget to shake the snow off
those windows every now and then!"
category="toys/desktop"
environment="x11"
contact="$name@packages.packware.gnu.pl"
vendor="The Packware Project"
vendor_id="pw"

requires=""
obsoletes=""
conflicts=""

docs_source="README"
docs_cwd=""

strip_bin="y"
reset_own="y"
reset_dir="y"
reset_fil="y"
delete_cat="y"

. /usr/src/tgz/lib/builder.defs

add_source http://www.euronet.nl/~rja/$title/$name-$version.tar.gz

install_option DESTDIR=$pkg_main

# Before compiling write the info file.
parent_package="$package"
write_info main

cd $src1

xmkmf

apply_patch xsnow-am_flags.pw.patch

do_make
do_install
make DESTDIR=$pkg_main install.man

make_docs

make_package main

clean_up

# ChangeLog
#
# 2002/06/10 Jaroslaw Swierczynski <swiergot@intersec.pl>
# - Initial release.
#
