wok-6.x annotate xorg-xf86-input-synaptics/receipt @ rev 25375

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 30 08:30:06 2022 +0000 (2022-07-30)
parents 814c58f64f83
children
rev   line source
pankso@3045 1 # SliTaz package receipt.
pankso@3045 2
pankso@3045 3 PACKAGE="xorg-xf86-input-synaptics"
mojo@13709 4 VERSION="1.6.2"
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"
pascal@15023 15 BUILD_DEPENDS="xorg-server-dev xorg-libXtst-dev mtdev-dev"
pascal@15023 16
pascal@24072 17 current_version()
pascal@24072 18 {
pascal@24072 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 21 }
pascal@24072 22
pankso@3045 23 # Rules to configure and make the package.
pankso@3045 24 compile_rules()
pankso@3045 25 {
pankso@3045 26 cd $src
pankso@3045 27 ./configure \
pankso@3045 28 --prefix=/usr \
pankso@3045 29 --sysconfdir=/etc \
pankso@3045 30 --mandir=/usr/share/man \
pankso@3045 31 --localstatedir=/var \
pankso@3045 32 --with-xorg-module-dir=/usr/lib/X11/modules \
pankso@3045 33 $CONFIGURE_ARGS &&
pankso@3045 34 make &&
pascal@15023 35 make DESTDIR=$DESTDIR install
pankso@3045 36 }
pankso@3045 37
pankso@3045 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3045 39 genpkg_rules()
pankso@3045 40 {
pankso@3045 41 mkdir -p $fs/usr/lib/X11/modules/input/
pascal@15023 42 cp -a $install/usr/bin $fs/usr
pascal@15023 43 cp -a $install/usr/lib/X11/modules/input/*.so \
pascal@15023 44 $fs/usr/lib/X11/modules/input/
gokhlayeh@5878 45 mkdir -p $fs/etc/X11/xorg.conf.d
pascal@8974 46 cp -a $stuff/*.conf $fs/etc/X11/xorg.conf.d
pankso@3045 47 }
pankso@3045 48