# SliTaz package receipt.

PACKAGE="xorg-libFS"
VERSION="1.0.8"
CATEGORY="x-window"
SHORT_DESC="Library Interface to the X Font Server."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="other"
WEB_SITE="https://www.x.org/wiki/"

SOURCE="libFS"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="$XORG_MIRROR/lib/$TARBALL"

DEPENDS="xorg-libX11"
BUILD_DEPENDS="libxcb-dev xorg-libXau-dev xorg-xproto \
xorg-libXdmcp-dev xorg-libX11-dev xorg-xtrans"

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

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