wok-next annotate xorg-xf86-input-libinput/receipt @ rev 20337
orpheus: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 16 21:37:29 2017 +0100 (2017-11-16) |
parents | |
children | 96912f5312d8 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19805 | 2 |
al@19805 | 3 PACKAGE="xorg-xf86-input-libinput" |
al@19805 | 4 VERSION="0.25.1" |
al@19805 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="libinput-based X.Org input driver" |
al@19805 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19805 | 8 LICENSE="MIT" |
al@19805 | 9 WEB_SITE="https://www.x.org/wiki/" |
al@19805 | 10 |
al@19805 | 11 TARBALL="xf86-input-libinput-$VERSION.tar.bz2" |
al@19805 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
al@19805 | 13 |
al@19805 | 14 BUILD_DEPENDS="xorg-server-dev libinput-dev" |
al@19805 | 15 SPLIT="xorg-xf86-input-libinput-dev" |
al@19805 | 16 PKG_RULE="std-dev" |
al@19805 | 17 |
al@19805 | 18 # Rules to configure and make the package. |
al@19805 | 19 compile_rules() |
al@19805 | 20 { |
al@19805 | 21 ./configure \ |
al@19805 | 22 --sysconfdir=/etc \ |
al@19805 | 23 --localstatedir=/var \ |
al@19805 | 24 $CONFIGURE_ARGS && |
al@19805 | 25 make && |
al@19805 | 26 make install |
al@19805 | 27 } |
al@19805 | 28 |
al@19805 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19805 | 30 genpkg_rules() |
al@19805 | 31 { |
al@19805 | 32 case $PACKAGE in |
al@19805 | 33 *-libinput) |
al@19805 | 34 copy @std |
al@19805 | 35 DEPENDS="xorg-server eudev libevdev libinput mtdev" |
al@19805 | 36 ;; |
al@19805 | 37 *-dev) |
al@19805 | 38 copy @dev |
al@19805 | 39 DEPENDS="xorg-xf86-input-libinput xorg-server-dev eudev-dev \ |
al@19805 | 40 libevdev-dev libinput-dev mtdev-dev" |
al@19805 | 41 ;; |
al@19805 | 42 esac |
al@19805 | 43 } |