# SliTaz package receipt.

PACKAGE="libevdev"
VERSION="1.11.0"
CATEGORY="x-window"
SHORT_DESC="Common functions for Xorg input drivers."
MAINTAINER="maintainer@slitaz.org"
LICENSE="other"
WEB_SITE="https://www.freedesktop.org/wiki/Software/libevdev/"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://www.freedesktop.org/software/libevdev/$TARBALL"

BUILD_DEPENDS="check-dev python"

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

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