# SliTaz package receipt. PACKAGE="xorg-xf86-input-synaptics" VERSION="1.9.1" SOURCE="xf86-input-synaptics" CATEGORY="x-window" SHORT_DESC="Xorg input driver for touchpads" MAINTAINER="devel@slitaz.org" LICENSE="MIT" WEB_SITE="https://www.x.org/wiki/" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="$XORG_MIRROR/driver/$TARBALL" BUILD_DEPENDS="xorg-util-macros xorg-server-dev \ xorg-xproto libevdev-dev xorg-libXi-dev xorg-libXtst-dev" DEPENDS="libevdev xorg-libX11 xorg-libXi xorg-libXtst" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-xorg-module-dir=/usr/lib/X11/modules \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/X11/modules/input/ cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib/X11/modules/input/*.so \ $fs/usr/lib/X11/modules/input/ }