wok annotate xorg-xf86-input-mouse/receipt @ rev 25156

updated ptxdist (2020.03.0 -> 2020.12.0)
author Hans-G?nter Theisgen
date Thu Jun 30 15:51:09 2022 +0100 (2022-06-30)
parents bf4253eaa18a
children
rev   line source
pankso@88 1 # SliTaz package receipt.
pankso@88 2
pankso@88 3 PACKAGE="xorg-xf86-input-mouse"
Hans-G?nter@22264 4 VERSION="1.9.3"
pankso@88 5 CATEGORY="x-window"
pankso@88 6 SHORT_DESC="Xorg server protocol."
pankso@88 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22264 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22264 10
pankso@88 11 SOURCE="xf86-input-mouse"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@88 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pankso@88 14
pascal@15579 15 DEPENDS="xorg-server"
pascal@15579 16 BUILD_DEPENDS="xorg-server-dev"
pascal@15579 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@88 24 # Rules to configure and make the package.
pankso@88 25 compile_rules()
pankso@88 26 {
Hans-G?nter@22264 27 ./configure \
Hans-G?nter@22264 28 --prefix=/usr \
Hans-G?nter@22264 29 --sysconfdir=/etc \
Hans-G?nter@22264 30 --mandir=/usr/share/man \
Hans-G?nter@22264 31 --localstatedir=/var \
Hans-G?nter@22264 32 --with-xorg-module-dir=/usr/lib/X11/modules \
Hans-G?nter@22264 33 $CONFIGURE_ARGS &&
Hans-G?nter@22264 34 make &&
Hans-G?nter@22264 35 make DESTDIR=$DESTDIR install
pankso@88 36 }
pankso@88 37
pankso@88 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@88 39 genpkg_rules()
pankso@88 40 {
pankso@444 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/
pankso@88 44 }