# SliTaz package receipt.

PACKAGE="xorg-libXaw"
VERSION="1.0.8"
CATEGORY="x-window"
SHORT_DESC="Xorg server module."
MAINTAINER="pankso@slitaz.org"
SOURCE="libXaw"
TARBALL="$SOURCE-$VERSION.tar.bz2"
DEPENDS="xorg-libXmu xorg-libXpm"
BUILD_DEPENDS="xorg-libXmu-dev xorg-libXpm-dev util-linux-ng-uuid-dev"
WEB_SITE="http://www.x.org/"
WGET_URL="$XORG_MIRROR/lib/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --sysconfdir=/etc \
        --localstatedir=/var \
	$CONFIGURE_ARGS &&
    make && make install
}

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