wok-next diff xorg-xf86-input-keyboard/receipt @ rev 19872
Up palemoon (27.5.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Sep 27 20:45:12 2017 +0200 (2017-09-27) |
parents | eb8067417980 |
children | 757d032c55c7 |
line diff
1.1 --- a/xorg-xf86-input-keyboard/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/xorg-xf86-input-keyboard/receipt Wed Sep 27 20:45:12 2017 +0200 1.3 @@ -1,39 +1,42 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xorg-xf86-input-keyboard" 1.8 -VERSION="1.7.0" 1.9 +VERSION="1.9.0" 1.10 CATEGORY="x-window" 1.11 -SHORT_DESC="Xorg server keyboard driver." 1.12 +SHORT_DESC="Xorg input driver for keyboards" 1.13 MAINTAINER="pankso@slitaz.org" 1.14 LICENSE="MIT" 1.15 -SOURCE="xf86-input-keyboard" 1.16 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://www.x.org/" 1.18 -WGET_URL="ftp://ftp.solnet.ch/mirror/x.org/pub/individual/driver/$TARBALL" 1.19 +WEB_SITE="https://www.x.org/wiki/" 1.20 1.21 -DEPENDS="xorg-server" 1.22 +TARBALL="xf86-input-keyboard-$VERSION.tar.bz2" 1.23 +WGET_URL="$XORG_MIRROR/driver/$TARBALL" 1.24 + 1.25 BUILD_DEPENDS="xorg-server-dev" 1.26 +SPLIT="xorg-xf86-input-keyboard-dev" 1.27 +PKG_RULE="std-dev" 1.28 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - cd $src 1.33 - ./configure \ 1.34 - --prefix=/usr \ 1.35 - --sysconfdir=/etc \ 1.36 - --mandir=/usr/share/man \ 1.37 - --localstatedir=/var \ 1.38 - --with-xorg-module-dir=/usr/lib/X11/modules \ 1.39 - $CONFIGURE_ARGS && 1.40 - make && 1.41 - make DESTDIR=$DESTDIR install 1.42 + ./configure \ 1.43 + --sysconfdir=/etc \ 1.44 + --localstatedir=/var \ 1.45 + $CONFIGURE_ARGS && 1.46 + make && 1.47 + make install 1.48 } 1.49 1.50 # Rules to gen a SliTaz package suitable for Tazpkg. 1.51 genpkg_rules() 1.52 { 1.53 - mkdir -p $fs/usr/lib/X11/modules/input/ 1.54 - cp -a $install/usr/lib/X11/modules/input/*.so \ 1.55 - $fs/usr/lib/X11/modules/input/ 1.56 + case $PACKAGE in 1.57 + *-keyboard) 1.58 + copy @std 1.59 + DEPENDS="xorg-server" 1.60 + ;; 1.61 + *-dev) 1.62 + copy @dev 1.63 + DEPENDS="xorg-xf86-input-keyboard xorg-server-dev" 1.64 + ;; 1.65 + esac 1.66 } 1.67 -