wok-next view xorg-xf86-input-joystick/receipt @ rev 19805

Update full xorg-* stack (add / upgrade / remove no more compiled packages with this xorg-server), normalize receipts to v2.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 14 16:02:21 2017 +0300 (2017-07-14)
parents
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-xf86-input-joystick"
4 VERSION="1.6.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg input driver for controlling the pointer with a joystick \
7 device"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 TARBALL="xf86-input-joystick-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
15 BUILD_DEPENDS="xorg-server-dev"
16 SPLIT="xorg-xf86-input-joystick-dev"
17 PKG_RULE="std-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 *-joystick)
35 copy @std
36 DEPENDS="xorg-server"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="xorg-xf86-input-joystick xorg-server-dev"
41 ;;
42 esac
43 }