wok annotate xorg-xf86-input-void/receipt @ rev 24143

Add ventoy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 16 17:16:48 2021 +0000 (2021-11-16)
parents c66bb42e5b3f
children
rev   line source
pascal@4870 1 # SliTaz package receipt.
pascal@4870 2
pascal@4870 3 PACKAGE="xorg-xf86-input-void"
Hans-G?nter@22268 4 VERSION="1.4.1"
pascal@4870 5 CATEGORY="x-window"
pascal@4870 6 SHORT_DESC="Xorg server protocol."
pascal@4870 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22268 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22268 10
pascal@4870 11 SOURCE="xf86-input-void"
pascal@4870 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@4870 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pascal@4870 14
pascal@15164 15 DEPENDS="xorg-server"
pascal@15164 16 BUILD_DEPENDS="xorg-server-dev"
pascal@15164 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
pascal@4870 24 # Rules to configure and make the package.
pascal@4870 25 compile_rules()
pascal@4870 26 {
Hans-G?nter@22268 27 ./configure \
Hans-G?nter@22268 28 --prefix=/usr \
Hans-G?nter@22268 29 --sysconfdir=/etc \
Hans-G?nter@22268 30 --mandir=/usr/share/man \
Hans-G?nter@22268 31 --localstatedir=/var \
Hans-G?nter@22268 32 --with-xorg-module-dir=/usr/lib/X11/modules \
Hans-G?nter@22268 33 --enable-evcalibrate \
Hans-G?nter@22268 34 $CONFIGURE_ARGS &&
Hans-G?nter@22268 35 make &&
Hans-G?nter@22268 36 make DESTDIR=$DESTDIR install
pascal@4870 37 }
pascal@4870 38
pascal@4870 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4870 40 genpkg_rules()
pascal@4870 41 {
pascal@4870 42 mkdir -p $fs/usr/lib/X11/modules/input/
Hans-G?nter@22268 43 cp -a $install/usr/lib/X11/modules/input/*.so \
Hans-G?nter@22268 44 $fs/usr/lib/X11/modules/input/
pascal@4870 45 }