wok annotate xorg-xf86-input-keyboard/receipt @ rev 24635
updated gutenprint and gutenprint-dev (5.3.3 -> 5.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 08:09:06 2022 +0100 (2022-03-09) |
parents | 399f0c9c15f1 |
children |
rev | line source |
---|---|
pankso@88 | 1 # SliTaz package receipt. |
pankso@88 | 2 |
pankso@88 | 3 PACKAGE="xorg-xf86-input-keyboard" |
Hans-G?nter@22263 | 4 VERSION="1.9.0" |
pankso@88 | 5 CATEGORY="x-window" |
pankso@346 | 6 SHORT_DESC="Xorg server keyboard driver." |
pankso@88 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22263 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22263 | 10 |
pankso@88 | 11 SOURCE="xf86-input-keyboard" |
pankso@346 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22263 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@88 | 14 |
pascal@15162 | 15 DEPENDS="xorg-server" |
pascal@15162 | 16 BUILD_DEPENDS="xorg-server-dev" |
pascal@15162 | 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@22263 | 27 ./configure \ |
Hans-G?nter@22263 | 28 --prefix=/usr \ |
Hans-G?nter@22263 | 29 --sysconfdir=/etc \ |
Hans-G?nter@22263 | 30 --mandir=/usr/share/man \ |
Hans-G?nter@22263 | 31 --localstatedir=/var \ |
Hans-G?nter@22263 | 32 --with-xorg-module-dir=/usr/lib/X11/modules \ |
Hans-G?nter@22263 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22263 | 34 make && |
Hans-G?nter@22263 | 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/ |
Hans-G?nter@22263 | 42 cp -a $install/usr/lib/X11/modules/input/*.so \ |
Hans-G?nter@22263 | 43 $fs/usr/lib/X11/modules/input/ |
pankso@88 | 44 } |