# SliTaz package receipt.

PACKAGE="xorg-libXmu"
VERSION="1.1.3"
CATEGORY="x-window"
SHORT_DESC="Xorg server module."
MAINTAINER="pankso@slitaz.org"
SOURCE="libXmu"
TARBALL="$SOURCE-$VERSION.tar.bz2"
DEPENDS="xorg-libXt xorg-libXext"
BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev util-linux-ng-uuid-dev \
libxcb-dev xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
xorg-libICE-dev xorg-libSM-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
}