wok view xorg-xf86-input-keyboard/receipt @ rev 24195
updated perl-datetime-format-w3cdtf (0.07 -> 0.08)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:58:36 2021 +0100 (2021-12-31) |
parents | 399f0c9c15f1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-keyboard"
4 VERSION="1.9.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server keyboard driver."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xf86-input-keyboard"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
15 DEPENDS="xorg-server"
16 BUILD_DEPENDS="xorg-server-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
31 --localstatedir=/var \
32 --with-xorg-module-dir=/usr/lib/X11/modules \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/X11/modules/input/
42 cp -a $install/usr/lib/X11/modules/input/*.so \
43 $fs/usr/lib/X11/modules/input/
44 }