wok-current annotate xorg-xf86-input-synaptics/receipt @ rev 25634
Mass update, new toolchain gcc 8.3.0, glibc 2.28.0
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Jan 14 08:12:37 2024 +0000 (12 months ago) |
parents | 5d79829fa876 |
children | 5926178cd6fa |
rev | line source |
---|---|
pankso@3045 | 1 # SliTaz package receipt. |
pankso@3045 | 2 |
pankso@3045 | 3 PACKAGE="xorg-xf86-input-synaptics" |
shann@25634 | 4 VERSION="1.9.1" |
pankso@3045 | 5 CATEGORY="x-window" |
pankso@3045 | 6 SHORT_DESC="Xorg synaptics driver." |
pankso@3045 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15023 | 8 LICENSE="MIT" |
pankso@3045 | 9 SOURCE="xf86-input-synaptics" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
pankso@3045 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@3045 | 13 |
pascal@15023 | 14 DEPENDS="xorg-server xorg-libXtst mtdev" |
shann@25634 | 15 BUILD_DEPENDS="xorg-server-dev \ |
shann@25634 | 16 xorg-libXtst-dev mtdev-dev libevdev-dev" |
pascal@15023 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
pankso@3045 | 24 # Rules to configure and make the package. |
pankso@3045 | 25 compile_rules() |
pankso@3045 | 26 { |
pankso@3045 | 27 cd $src |
pankso@3045 | 28 ./configure \ |
pankso@3045 | 29 --prefix=/usr \ |
pankso@3045 | 30 --sysconfdir=/etc \ |
pankso@3045 | 31 --mandir=/usr/share/man \ |
pankso@3045 | 32 --localstatedir=/var \ |
pankso@3045 | 33 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@3045 | 34 $CONFIGURE_ARGS && |
pankso@3045 | 35 make && |
pascal@15023 | 36 make DESTDIR=$DESTDIR install |
pankso@3045 | 37 } |
pankso@3045 | 38 |
pankso@3045 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3045 | 40 genpkg_rules() |
pankso@3045 | 41 { |
pankso@3045 | 42 mkdir -p $fs/usr/lib/X11/modules/input/ |
pascal@15023 | 43 cp -a $install/usr/bin $fs/usr |
pascal@15023 | 44 cp -a $install/usr/lib/X11/modules/input/*.so \ |
pascal@15023 | 45 $fs/usr/lib/X11/modules/input/ |
gokhlayeh@5878 | 46 mkdir -p $fs/etc/X11/xorg.conf.d |
pascal@8974 | 47 cp -a $stuff/*.conf $fs/etc/X11/xorg.conf.d |
pankso@3045 | 48 } |
pankso@3045 | 49 |