# SliTaz package receipt.

PACKAGE="xorg-libdmx"
VERSION="1.1.4"
CATEGORY="x-window"
SHORT_DESC="Xorg DMX library."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://www.x.org/wiki/"

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

DEPENDS=""
BUILD_DEPENDS="xorg-xproto xorg-libX11-dev \
xorg-libXext-dev"

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --sysconfdir=/etc    \
        --mandir=/usr/share/man    \
        --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 $install/usr/lib/*.so* $fs/usr/lib
}