# SliTaz package receipt.

PACKAGE="xorg-libxshmfence"
VERSION="1.3"
CATEGORY="x-window"
SHORT_DESC="X11 shared memory fences."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://xorg.freedesktop.org/"

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

BUILD_DEPENDS="xorg-xproto"

compile_rules()
{
    ./configure        \
        --prefix=/usr    \
        --enable-futex    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so*    $fs/usr/lib
}