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

Up emacs (2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 25 11:21:45 2017 +0200 (2017-10-25)
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 }