SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xorg-xf86-input-synaptics"

# SliTaz package receipt.

PACKAGE="xorg-xf86-input-synaptics"
VERSION="1.9.1"
CATEGORY="x-window"
SHORT_DESC="Xorg synaptics driver."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
SOURCE="xf86-input-synaptics"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="https://www.x.org/"
WGET_URL="$XORG_MIRROR/driver/$TARBALL"

DEPENDS="xorg-server xorg-libXtst mtdev"
BUILD_DEPENDS="xorg-server-dev \
xorg-libXtst-dev mtdev-dev libevdev-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --mandir=/usr/share/man \
        --localstatedir=/var \
        --with-xorg-module-dir=/usr/lib/X11/modules \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/X11/modules/input/
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/X11/modules/input/*.so \
            $fs/usr/lib/X11/modules/input/
    mkdir -p $fs/etc/X11/xorg.conf.d
    cp -a $stuff/*.conf $fs/etc/X11/xorg.conf.d
}

6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)