wok annotate xorg-xf86-input-mutouch/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 814c58f64f83
children
rev   line source
pascal@4848 1 # SliTaz package receipt.
pascal@4848 2
pascal@4848 3 PACKAGE="xorg-xf86-input-mutouch"
pascal@15728 4 VERSION="1.3.0"
pascal@4848 5 CATEGORY="x-window"
pascal@4848 6 SHORT_DESC="Xorg server protocol."
pascal@4848 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
pascal@4848 9 SOURCE="xf86-input-mutouch"
gokhlayeh@6993 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@20423 11 WEB_SITE="https://www.x.org/"
pascal@4848 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pascal@4848 13
pascal@15579 14 DEPENDS="xorg-server"
pascal@15579 15 BUILD_DEPENDS="xorg-server-dev"
pascal@15579 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
pascal@4848 23 # Rules to configure and make the package.
pascal@4848 24 compile_rules()
pascal@4848 25 {
pascal@4848 26 cd $src
pascal@4848 27 ./configure \
pascal@4848 28 --prefix=/usr \
pascal@4848 29 --sysconfdir=/etc \
pascal@4848 30 --mandir=/usr/share/man \
pascal@4848 31 --localstatedir=/var \
pascal@4848 32 --with-xorg-module-dir=/usr/lib/X11/modules \
pascal@4848 33 $CONFIGURE_ARGS &&
pascal@4848 34 make &&
pascal@15579 35 make DESTDIR=$DESTDIR install
pascal@4848 36 }
pascal@4848 37
pascal@4848 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4848 39 genpkg_rules()
pascal@4848 40 {
pascal@4848 41 mkdir -p $fs/usr/lib/X11/modules/input/
pascal@15579 42 cp -a $install/usr/lib/X11/modules/input/*.so \
pascal@15579 43 $fs/usr/lib/X11/modules/input/
pascal@4848 44 }
pascal@4848 45