SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libevdev"

# SliTaz package receipt.

PACKAGE="libevdev"
VERSION="1.12.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/"
LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#libevdev"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://www.freedesktop.org/software/libevdev/$TARBALL"

BUILD_DEPENDS="check-dev python" # doxygen

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# 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()
{
    cook_copy_folders    bin
    cook_copy_files        *.so*
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)