wok-current annotate xorg-xf86-input-synaptics/receipt @ rev 25736
Add miss git-branch patch for cookutils
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jan 20 09:30:59 2025 +0000 (8 days ago) |
parents | 3ad63c8fc2f9 |
children |
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 |
shann@25728 | 18 HOST_ARCH="i486 x86_64" |
shann@25728 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@3045 | 26 # Rules to configure and make the package. |
pankso@3045 | 27 compile_rules() |
pankso@3045 | 28 { |
pankso@3045 | 29 cd $src |
pankso@3045 | 30 ./configure \ |
pankso@3045 | 31 --prefix=/usr \ |
pankso@3045 | 32 --sysconfdir=/etc \ |
pankso@3045 | 33 --mandir=/usr/share/man \ |
pankso@3045 | 34 --localstatedir=/var \ |
pankso@3045 | 35 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@3045 | 36 $CONFIGURE_ARGS && |
pankso@3045 | 37 make && |
pascal@15023 | 38 make DESTDIR=$DESTDIR install |
pankso@3045 | 39 } |
pankso@3045 | 40 |
pankso@3045 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3045 | 42 genpkg_rules() |
pankso@3045 | 43 { |
pankso@3045 | 44 mkdir -p $fs/usr/lib/X11/modules/input/ |
pascal@15023 | 45 cp -a $install/usr/bin $fs/usr |
pascal@15023 | 46 cp -a $install/usr/lib/X11/modules/input/*.so \ |
pascal@15023 | 47 $fs/usr/lib/X11/modules/input/ |
gokhlayeh@5878 | 48 mkdir -p $fs/etc/X11/xorg.conf.d |
pascal@8974 | 49 cp -a $stuff/*.conf $fs/etc/X11/xorg.conf.d |
pankso@3045 | 50 } |
pankso@3045 | 51 |