# SliTaz package receipt.

PACKAGE="xorg-xrefresh"
VERSION="1.0.6"
CATEGORY="x-window"
SHORT_DESC="Refresh all or part of an X screen."
MAINTAINER="rocky@slitaz.org"
DEPENDS="xorg-libX11"
BUILD_DEPENDS="xorg-libX11-dev"
SOURCE="xrefresh"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.x.org/"
WGET_URL="$XORG_MIRROR/app/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/usr/bin $fs/usr
}