wok-6.x view xinput-calibrator/receipt @ rev 24689

updated jp2a (1.0.9 -> 1.1.1)
author Hans-G?nter Theisgen
date Sat Mar 12 13:47:37 2022 +0100 (2022-03-12)
parents 345481aca32f
children 1805f71c5d9f
line source
1 # SliTaz package receipt.
3 PACKAGE="xinput-calibrator"
4 VERSION="0.7.5"
5 CATEGORY="x-window"
6 SHORT_DESC="A generic touchscreen calibration program for X.Org"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="xinput_calibrator"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freedesktop.org/wiki/Software/xinput_calibrator/"
12 WGET_URL="http://cloud.github.com/downloads/tias/xinput_calibrator/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libX11"
16 BUILD_DEPENDS="xorg-libX11"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/tias/xinput_calibrator/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/pixmaps
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/pixmaps/*.xpm \
39 $fs/usr/share/pixmaps
40 }