wok-current view xinput-calibrator/receipt @ rev 25642

Bump linux to 4.19.305, add linux-pae-ipv6
author Stanislas Leduc <shann@slitaz.org>
date Wed Jan 17 12:05:22 2024 +0000 (9 months ago)
parents 73f36875e5a7
children
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="https://www.freedesktop.org/wiki/Software/xinput_calibrator/"
12 WGET_URL="https://github.com/tias/xinput_calibrator/archive/refs/tags/v$SOURCE.tar.gz"
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 }